Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 142 for Delay (0.03 seconds)

  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);
            }
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 10K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java

      }
    
      @Override
      public final ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) {
        return delegate.schedule(wrapTask(command), delay, unit);
      }
    
      @Override
      public final <V extends @Nullable Object> ScheduledFuture<V> schedule(
          Callable<V> task, long delay, TimeUnit unit) {
        return delegate.schedule(wrapTask(task), delay, unit);
      }
    
      @Override
      public final ScheduledFuture<?> scheduleAtFixedRate(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  3. 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);
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  4. 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.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:32:57 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. 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++) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. 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 */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:58:39 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. 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);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. 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.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Wed Nov 19 07:09:17 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. cmd/batch-rotate.go

    	lastObject := ri.Object
    
    	retryAttempts := job.KeyRotate.Flags.Retry.Attempts
    	if retryAttempts <= 0 {
    		retryAttempts = batchKeyRotateJobDefaultRetries
    	}
    	delay := job.KeyRotate.Flags.Retry.Delay
    	if delay <= 0 {
    		delay = batchKeyRotateJobDefaultRetryDelay
    	}
    
    	rnd := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	selectObj := func(info FileInfo) (ok bool) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  10. 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();
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:58:39 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top