Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for waitForNoWaitingThreads (0.44 sec)

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

            systemHelper.setSystemCpuCheckInterval(0L);
            systemHelper.calibrateCpuLoad();
            assertEquals(0, systemHelper.waitingThreadNames.size());
            systemHelper.waitForNoWaitingThreads();
        }
    
        public void test_getVersion() {
            assertEquals("98.76.5", systemHelper.getVersion());
            assertEquals(98, systemHelper.getMajorVersion());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. 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)
  3. 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