@Beta @GwtIncompatible public interface ListeningScheduledExecutorService extends ScheduledExecutorService, ListeningExecutorService
ScheduledExecutorService that returns ListenableFuture instances from its
ExecutorService methods. To create an instance from an existing ScheduledExecutorService, call MoreExecutors.listeningDecorator(ScheduledExecutorService).| Modifier and Type | Method and Description |
|---|---|
<V> ListenableScheduledFuture<V> |
schedule(Callable<V> callable,
long delay,
TimeUnit unit) |
ListenableScheduledFuture<?> |
schedule(Runnable command,
long delay,
TimeUnit unit) |
ListenableScheduledFuture<?> |
scheduleAtFixedRate(Runnable command,
long initialDelay,
long period,
TimeUnit unit) |
ListenableScheduledFuture<?> |
scheduleWithFixedDelay(Runnable command,
long initialDelay,
long delay,
TimeUnit unit) |
invokeAll, invokeAll, submit, submit, submitawaitTermination, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNowListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit)
schedule in interface ScheduledExecutorService<V> ListenableScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit)
schedule in interface ScheduledExecutorServiceListenableScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
scheduleAtFixedRate in interface ScheduledExecutorServiceListenableScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)
scheduleWithFixedDelay in interface ScheduledExecutorServiceCopyright © 2010-2016. All Rights Reserved.