- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getDelay (0.12 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
ThreadUtil.sleepQuietly(crawlerWaitMillis); } } public void delayByRules() { final long delay = getDelay(); if (delay > 0) { ThreadUtil.sleep(delay); } } protected long getDelay() { if (ruleList.isEmpty()) { return 0; } final Calendar cal = getCurrentCal();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5.8K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
// to produce the message throws (probably StackOverflowError from delegate.toString()) try { if (timer != null) { long overDelayMs = Math.abs(timer.getDelay(MILLISECONDS)); if (overDelayMs > 10) { // Not all timing drift is worth reporting message += " (timeout delayed by " + overDelayMs + " ms after scheduled time)"; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 8.1K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 6.4K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 6.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 44.1K bytes - Viewed (0)