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
newTaskFor, newTaskFor, submit, submit, submit
invokeAll, invokeAll, invokeAny, invokeAny
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay
invokeAll, invokeAll, submit, submit, submit
ScheduledListeningDecorator(java.util.concurrent.ScheduledExecutorService delegate)
public ListenableScheduledFuture<?> schedule(java.lang.Runnable command, long delay, java.util.concurrent.TimeUnit unit)
schedule
in interface ListeningScheduledExecutorService
schedule
in interface java.util.concurrent.ScheduledExecutorService
public <V> ListenableScheduledFuture<V> schedule(java.util.concurrent.Callable<V> callable, long delay, java.util.concurrent.TimeUnit unit)
schedule
in interface ListeningScheduledExecutorService
schedule
in interface java.util.concurrent.ScheduledExecutorService
public ListenableScheduledFuture<?> scheduleAtFixedRate(java.lang.Runnable command, long initialDelay, long period, java.util.concurrent.TimeUnit unit)
scheduleAtFixedRate
in interface ListeningScheduledExecutorService
scheduleAtFixedRate
in interface java.util.concurrent.ScheduledExecutorService
public ListenableScheduledFuture<?> scheduleWithFixedDelay(java.lang.Runnable command, long initialDelay, long delay, java.util.concurrent.TimeUnit unit)
scheduleWithFixedDelay
in interface ListeningScheduledExecutorService
scheduleWithFixedDelay
in interface java.util.concurrent.ScheduledExecutorService