Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sleepQuietly (0.12 sec)

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

        protected long crawlerWaitMillis = 10000;
    
        protected List<IntervalRule> ruleList = new ArrayList<>();
    
        public void checkCrawlerStatus() {
            while (!crawlerRunning) {
                ThreadUtil.sleepQuietly(crawlerWaitMillis);
            }
        }
    
        public void delayByRules() {
            final long delay = getDelay();
            if (delay > 0) {
                ThreadUtil.sleep(delay);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top