private static final class MoreExecutors.ScheduledListeningDecorator extends MoreExecutors.ListeningDecorator implements ListeningScheduledExecutorService
| Modifier and Type | Class and Description |
|---|---|
private static class |
MoreExecutors.ScheduledListeningDecorator.ListenableScheduledTask<V> |
private static class |
MoreExecutors.ScheduledListeningDecorator.NeverSuccessfulListenableFutureTask |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.concurrent.ScheduledExecutorService |
delegate |
| Constructor and Description |
|---|
ScheduledListeningDecorator(java.util.concurrent.ScheduledExecutorService delegate) |
| Modifier and Type | Method and Description |
|---|---|
<V> ListenableScheduledFuture<V> |
schedule(java.util.concurrent.Callable<V> callable,
long delay,
java.util.concurrent.TimeUnit unit) |
ListenableScheduledFuture<?> |
schedule(java.lang.Runnable command,
long delay,
java.util.concurrent.TimeUnit unit) |
ListenableScheduledFuture<?> |
scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit) |
ListenableScheduledFuture<?> |
scheduleWithFixedDelay(java.lang.Runnable command,
long initialDelay,
long delay,
java.util.concurrent.TimeUnit unit) |
awaitTermination, execute, isShutdown, isTerminated, shutdown, shutdownNow, toStringnewTaskFor, newTaskFor, submit, submit, submitinvokeAll, invokeAll, invokeAny, invokeAnyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitschedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelayinvokeAll, invokeAll, submit, submit, submitScheduledListeningDecorator(java.util.concurrent.ScheduledExecutorService delegate)
public ListenableScheduledFuture<?> schedule(java.lang.Runnable command, long delay, java.util.concurrent.TimeUnit unit)
schedule in interface ListeningScheduledExecutorServiceschedule in interface java.util.concurrent.ScheduledExecutorServicepublic <V> ListenableScheduledFuture<V> schedule(java.util.concurrent.Callable<V> callable, long delay, java.util.concurrent.TimeUnit unit)
schedule in interface ListeningScheduledExecutorServiceschedule in interface java.util.concurrent.ScheduledExecutorServicepublic ListenableScheduledFuture<?> scheduleAtFixedRate(java.lang.Runnable command, long initialDelay, long period, java.util.concurrent.TimeUnit unit)
scheduleAtFixedRate in interface ListeningScheduledExecutorServicescheduleAtFixedRate in interface java.util.concurrent.ScheduledExecutorServicepublic ListenableScheduledFuture<?> scheduleWithFixedDelay(java.lang.Runnable command, long initialDelay, long delay, java.util.concurrent.TimeUnit unit)
scheduleWithFixedDelay in interface ListeningScheduledExecutorServicescheduleWithFixedDelay in interface java.util.concurrent.ScheduledExecutorService