- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for scheduleWithFixedDelay (3.46 sec)
-
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* @author Luke Sandberg * @since 11.0 */ public abstract static class Scheduler { /** * Returns a {@link Scheduler} that schedules the task using the {@link * ScheduledExecutorService#scheduleWithFixedDelay} method. * * @param initialDelay the time to delay first execution * @param delay the delay between the termination of one execution and the commencement of the * nextRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* @author Luke Sandberg * @since 11.0 */ public abstract static class Scheduler { /** * Returns a {@link Scheduler} that schedules the task using the {@link * ScheduledExecutorService#scheduleWithFixedDelay} method. * * @param initialDelay the time to delay first execution * @param delay the delay between the termination of one execution and the commencement of the * nextRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
assertExecutionException(future, ex); assertEquals(5, runnable.count); assertEquals(0, delegate.getQueue().size()); runnable = new ThrowingRunnable(5, ex); future = service.scheduleWithFixedDelay(runnable, 1, 1, MILLISECONDS); assertExecutionException(future, ex); assertEquals(5, runnable.count); assertEquals(0, delegate.getQueue().size()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
assertExecutionException(future, ex); assertEquals(5, runnable.count); assertEquals(0, delegate.getQueue().size()); runnable = new ThrowingRunnable(5, ex); future = service.scheduleWithFixedDelay(runnable, 1, 1, MILLISECONDS); assertExecutionException(future, ex); assertEquals(5, runnable.count); assertEquals(0, delegate.getQueue().size()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
* Start the cleanup task */ private void startCleanupTask() { if (cleanupTask != null) { cleanupTask.cancel(false); } cleanupTask = cleanupExecutor.scheduleWithFixedDelay(() -> { try { checkForLeaks(); performCleanup(); } catch (Exception e) { log.error("Error during resource cleanup", e); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
throw new CIFSException("Failed to create CIFSContext for multi-channel transport", e); } } private void startHealthCheckTask() { healthCheckExecutor.scheduleWithFixedDelay(this::performHealthCheck, healthCheckInterval, healthCheckInterval, TimeUnit.MILLISECONDS); } private void performHealthCheck() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
if (cleanupInterval <= 0) { cleanupInterval = DEFAULT_LEASE_CLEANUP_INTERVAL; } final long finalCleanupInterval = cleanupInterval; this.cleanupExecutor.scheduleWithFixedDelay(() -> cleanupExpiredLeases(finalCleanupInterval * 2), cleanupInterval, cleanupInterval, TimeUnit.MILLISECONDS); } /** * Lease entry containing lease state information */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
} @Override public ListenableScheduledFuture<?> scheduleWithFixedDelay( Runnable command, long initialDelay, long delay, TimeUnit unit) { NeverSuccessfulListenableFutureTask task = new NeverSuccessfulListenableFutureTask(command); ScheduledFuture<?> scheduled = delegate.scheduleWithFixedDelay(task, initialDelay, delay, unit);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
} log.info("[{}] Circuit breaker closed and resources cleaned up", name); } private void startDynamicThresholdAdjustment() { thresholdAdjustmentTask = scheduler.scheduleWithFixedDelay(this::performDynamicThresholdAdjustment, 30, 30, TimeUnit.SECONDS); log.debug("[{}] Started dynamic threshold adjustment task", name); } private void performDynamicThresholdAdjustment() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0)