public abstract class WrappingScheduledExecutorService extends WrappingExecutorService implements FluentScheduledExecutorService
| Modifier | Constructor and Description |
|---|---|
protected |
WrappingScheduledExecutorService(ScheduledExecutorService delegate)
Constructs a new scheduled executor service that delegates to the given scheduled executor
service.
|
| Modifier and Type | Method and Description |
|---|---|
protected FluentScheduledExecutorService |
delegate()
Returns the underlying executor service.
|
<V> FluentScheduledFuture<V> |
schedule(Callable<V> callable,
long delay,
TimeUnit unit) |
FluentScheduledFuture<Void> |
schedule(Runnable command,
long delay,
TimeUnit unit) |
FluentRepeatingFuture<Void> |
scheduleAtFixedRate(Runnable command,
long initialDelay,
long period,
TimeUnit unit) |
FluentRepeatingFuture<Void> |
scheduleWithFixedDelay(Runnable command,
long initialDelay,
long delay,
TimeUnit unit) |
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit, wrap, wrap, wrapexecuteclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvokeAll, invokeAll, makeFluent, makeFluent, makeFluentScheduled, makeFluentScheduled, sameThreadExecutorService, submit, submit, submitawaitTermination, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNowprotected WrappingScheduledExecutorService(ScheduledExecutorService delegate)
delegate - a scheduled executor serviceprotected FluentScheduledExecutorService delegate()
delegate in class WrappingExecutorServicepublic FluentScheduledFuture<Void> schedule(Runnable command, long delay, TimeUnit unit)
FluentScheduledExecutorServiceOverrides the return type to be fluent.
schedule in interface FluentScheduledExecutorServiceschedule in interface com.google.common.util.concurrent.ListeningScheduledExecutorServiceschedule in interface ScheduledExecutorServicepublic <V> FluentScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit)
FluentScheduledExecutorServiceOverrides the return type to be fluent.
schedule in interface FluentScheduledExecutorServiceschedule in interface com.google.common.util.concurrent.ListeningScheduledExecutorServiceschedule in interface ScheduledExecutorServicepublic FluentRepeatingFuture<Void> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
FluentScheduledExecutorServiceOverrides the return type to be fluent.
scheduleAtFixedRate in interface FluentScheduledExecutorServicescheduleAtFixedRate in interface com.google.common.util.concurrent.ListeningScheduledExecutorServicescheduleAtFixedRate in interface ScheduledExecutorServicepublic FluentRepeatingFuture<Void> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)
FluentScheduledExecutorServiceOverrides the return type to be fluent.
scheduleWithFixedDelay in interface FluentScheduledExecutorServicescheduleWithFixedDelay in interface com.google.common.util.concurrent.ListeningScheduledExecutorServicescheduleWithFixedDelay in interface ScheduledExecutorService