Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for waitForNoWaitingThreads (0.11 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            @Override
            public boolean calibrateCpuLoad() {
                cpuLoadCallCount.incrementAndGet();
                return true;
            }
    
            @Override
            public void waitForNoWaitingThreads() {
                // Do nothing in test
            }
    
            public void setComponentAvailable(boolean available) {
                this.componentAvailable = available;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                waitingThreadNames.remove(threadName);
            }
            return true;
        }
    
        /**
         * Waits for all waiting threads to complete.
         */
        public void waitForNoWaitingThreads() {
            int count = waitingThreadNames.size();
            while (count > 0) {
                if (logger.isInfoEnabled()) {
                    logger.info("{} waiting thread(s).", count);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            systemHelper.setSystemCpuCheckInterval(0L);
            systemHelper.calibrateCpuLoad();
            assertEquals(0, systemHelper.waitingThreadNames.size());
            systemHelper.waitForNoWaitingThreads();
        }
    
        @Test
        public void test_getVersion() {
            assertEquals("98.76.5", systemHelper.getVersion());
            assertEquals(98, systemHelper.getMajorVersion());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
Back to Top