Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for waitForNoWaitingThreads (0.11 sec)

  1. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                            ThreadUtil.sleep(interval); // 10 sec (default)
                        }
    
                        systemHelper.calibrateCpuLoad();
                        systemHelper.waitForNoWaitingThreads();
    
                        intervalControlHelper.delayByRules();
    
                        if (logger.isDebugEnabled()) {
                            logger.debug("Processing documents in IndexUpdater queue.");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                    current = getSystemCpuPercent();
                }
            } finally {
                waitingThreadNames.remove(threadName);
            }
            return true;
        }
    
        public void waitForNoWaitingThreads() {
            int count = waitingThreadNames.size();
            while (count > 0) {
                if (logger.isInfoEnabled()) {
                    logger.info("{} waiting thread(s).", count);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top