- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for waitForNext (0.04 seconds)
-
src/main/java/org/codelibs/fess/helper/AbstractConfigHelper.java
/** * Update the configuration. */ public void update() { CommonPoolUtil.execute(this::load); } /** * Wait for the next reloading. */ protected void waitForNext() { if (reloadInterval > 0) { ThreadUtil.sleep(reloadInterval); } } /** * Load the configuration. * @return The number of loaded configurations. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java
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) -
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)