Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for waitForNext (0.05 seconds)

  1. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                    } else if (logger.isDebugEnabled()) {
                        logger.debug("No KeyMatch boost docs");
                    }
    
                    waitForNext();
                } catch (final Exception e) {
                    logger.warn("Failed to load KeyMatch: id={}, term={}", keyMatch.getId(), keyMatch.getTerm(), e);
                }
            });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

        @Test
        public void test_waitForNext_withPositiveInterval() throws InterruptedException {
            configHelper.setReloadInterval(20L);
    
            long startTime = System.currentTimeMillis();
            configHelper.waitForNext();
            long endTime = System.currentTimeMillis();
    
            long elapsed = endTime - startTime;
            assertTrue("Expected at least 15ms sleep, got " + elapsed + "ms", elapsed >= 15);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
Back to Top