Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for setSystemCpuCheckInterval (0.08 seconds)

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

        }
    
        /**
         * Sets the interval for checking the system CPU load.
         *
         * @param systemCpuCheckInterval The interval in milliseconds.
         */
        public void setSystemCpuCheckInterval(final long systemCpuCheckInterval) {
            this.systemCpuCheckInterval = systemCpuCheckInterval;
        }
    
        /**
         * Validates a password against configured password policy requirements.
         *
    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)
  2. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        @Test
        public void test_createTempFile() {
            assertNotNull(systemHelper.createTempFile("test", ".txt"));
        }
    
        @Test
        public void test_calibrateCpuLoad() {
            systemHelper.setSystemCpuCheckInterval(0L);
            systemHelper.calibrateCpuLoad();
            assertEquals(0, systemHelper.waitingThreadNames.size());
            systemHelper.waitForNoWaitingThreads();
        }
    
        @Test
    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