- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getDelay (0.05 sec)
-
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
intervalControlHelper.ruleList.clear(); intervalControlHelper.addIntervalRule("22:15", "2:45", "1", 3000); assertEquals(0, intervalControlHelper.getDelay()); intervalControlHelper.addIntervalRule("22:15", "2:45", "2", 4000); assertEquals(4000, intervalControlHelper.getDelay()); } public void test_1215() throws ParseException {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
return new NeverScheduledFuture<>(); } @Override public long getDelay(TimeUnit unit) { return Long.MAX_VALUE; } @Override public int compareTo(Delayed other) { return Long.compare(getDelay(NANOSECONDS), other.getDelay(NANOSECONDS)); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
* 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); } } /** * Calculates the delay in milliseconds based on current time and configured rules.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
return new NeverScheduledFuture<>(); } @Override public long getDelay(TimeUnit unit) { return Long.MAX_VALUE; } @Override public int compareTo(Delayed other) { return Long.compare(getDelay(NANOSECONDS), other.getDelay(NANOSECONDS)); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
throws InterruptedException, ExecutionException, TimeoutException { Preconditions.checkNotNull(unit, "unit must not be null!"); return get(); } @Override public long getDelay(TimeUnit unit) { Preconditions.checkNotNull(unit, "unit must not be null!"); return 0; } @Override public int compareTo(Delayed other) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
throws InterruptedException, ExecutionException, TimeoutException { Preconditions.checkNotNull(unit, "unit must not be null!"); return get(); } @Override public long getDelay(TimeUnit unit) { Preconditions.checkNotNull(unit, "unit must not be null!"); return 0; } @Override public int compareTo(Delayed other) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 6.5K bytes - Viewed (0)