Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for Delay (0.05 sec)

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

            }
        }
    
        /**
         * Applies delay based on the configured interval rules.
         * This method calculates the appropriate delay for the current time
         * and applies it by sleeping the current thread.
         */
        public void delayByRules() {
            final long delay = getDelay();
            if (delay > 0) {
                ThreadUtil.sleep(delay);
            }
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 10K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            this.delay = delay;
            this.unit = checkNotNull(unit);
          }
    
          /**
           * @param delay the time from now to delay execution
           * @since 33.4.0 (but since 31.1 in the JRE flavor)
           */
          @IgnoreJRERequirement // Users will use this only if they're already using Duration
          public Schedule(Duration delay) {
            this(toNanosSaturated(delay), NANOSECONDS);
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  3. docs/en/docs/js/termynal.js

         * @param {string} options.prefix - Prefix to use for data attributes.
         * @param {number} options.startDelay - Delay before animation, in ms.
         * @param {number} options.typeDelay - Delay between each typed character, in ms.
         * @param {number} options.lineDelay - Delay between each line, in ms.
         * @param {number} options.progressLength - Number of characters displayed as progress bar.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:32:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TestLocking.java

                        logger.debug("delay={}", delay);
                    }
                    Thread.sleep(delay);
                } while (delay > 2);
    
                synchronized (t) {
                    t.notifyAll();
                }
                //System.out.println("numComplete=" + t.numComplete + ",numThreads=" + t.numThreads);
            }
    
            for (ti = 0; ti < t.numThreads; ti++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalController.java

        /** Delay in milliseconds after processing a URL */
        protected long delayMillisAfterProcessing = 0L;
    
        /** Delay in milliseconds when no URL is in the queue */
        protected long delayMillisAtNoUrlInQueue = 500L;
    
        /** Delay in milliseconds before processing a URL */
        protected long delayMillisBeforeProcessing = 0L;
    
        /** Delay in milliseconds for waiting for new URLs */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:58:39 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalControllerTest.java

            controller.delayAfterProcessing();
            final long elapsed = (System.nanoTime() - start) / 1000000;
    
            assertTrue("No delay expected", elapsed < 50); // Should be nearly instant
        }
    
        /**
         * Test delayAfterProcessing with actual delay
         */
        public void test_delayAfterProcessing_withDelay() {
            final DefaultIntervalController controller = new DefaultIntervalController();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:58:39 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

            super();
        }
    
        /**
         * Gets the delay time in milliseconds after processing a URL.
         *
         * @return the delay time in milliseconds after processing
         */
        public long getDelayMillisAfterProcessing() {
            return delayMillisAfterProcessing;
        }
    
        /**
         * Sets the delay time in milliseconds after processing a URL.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 07:09:17 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/IntervalController.java

        int NO_URL_IN_QUEUE = 4;
    
        /** Constant indicating that the crawler is waiting for new URLs. */
        int WAIT_NEW_URL = 8;
    
        /**
         * Introduces a delay based on the specified type.
         *
         * @param type the type of delay to be introduced
         */
        void delay(int type);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java

     *
     * <p>
     * Subclasses are responsible for implementing the abstract methods to define the actual delay
     * mechanism for each of these stages.
     * </p>
     *
     * <p>
     * The class also provides a mechanism to ignore exceptions that may occur during the delay process.
     * If {@link #ignoreException} is set to true, any exceptions thrown during the delay will be caught
     * and ignored. Otherwise, they will be re-thrown as {@link CrawlerSystemException}.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:58:39 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalControllerTest.java

        }
    
        /**
         * Test multiple delay calls
         */
        public void test_multipleDelayCalls() {
            final TestIntervalController controller = new TestIntervalController();
    
            controller.delay(IntervalController.PRE_PROCESSING);
            controller.delay(IntervalController.POST_PROCESSING);
            controller.delay(IntervalController.NO_URL_IN_QUEUE);
            controller.delay(IntervalController.WAIT_NEW_URL);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:58:39 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top