Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for waitForNext (0.05 sec)

  1. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

        }
    
        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);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 00:03:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. 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.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. 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("Cannot load {}", keyMatch, e);
                }
            });
            this.keyMatchQueryMap = keyMatchQueryMap;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top