Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_getResponseAfterResolve (0.18 sec)

  1. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            th.start();
    
            SuggestResponse response = deferred.promise().getResponse(10, TimeUnit.SECONDS);
            assertEquals(0, response.getNum());
        }
    
        @Test
        public void test_getResponseAfterResolve() throws Exception {
            final Deferred<SuggestResponse> deferred = new Deferred<>();
    
            Thread th = new Thread(() -> {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top