Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for sleepQuietly (0.07 sec)

  1. src/test/java/org/codelibs/core/lang/ThreadUtilTest.java

        @Test
        public void test_sleep() throws Exception {
            ThreadUtil.sleep(1L);
            assertTrue(true);
            ThreadUtil.sleepQuietly(1L);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test_sleepQuietly() throws Exception {
            ThreadUtil.sleepQuietly(1L);
            assertTrue(true);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ThreadUtil.java

         * Any {@link InterruptedException} is caught and logged at debug level.
         *
         * @param millis
         *            the length of time to sleep in milliseconds
         */
        public static void sleepQuietly(final long millis) {
            if (millis < 1L) {
                return;
            }
            try {
                Thread.sleep(millis);
            } catch (final InterruptedException e) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            return readInterval;
        }
    
        /**
         * Sleep for the specified interval.
         * @param interval The interval.
         */
        protected void sleep(final long interval) {
            ThreadUtil.sleepQuietly(interval);
        }
    
        /**
         * Store the data.
         * @param dataConfig The data configuration.
         * @param callback The callback.
         * @param paramMap The parameters.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AccessTimeoutTarget.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Interrupt {}", runningThread);
                }
                runningThread.interrupt();
                ThreadUtil.sleepQuietly(1000L);
                count++;
            }
        }
    
        /**
         * Stops the timeout target by setting the running flag to false.
         */
        public void stop() {
            if (logger.isDebugEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top