private static final class TestingExecutors.NoOpScheduledExecutorService extends AbstractListeningExecutorService implements ListeningScheduledExecutorService
| Modifier and Type | Class and Description |
|---|---|
private static class |
TestingExecutors.NoOpScheduledExecutorService.NeverScheduledFuture<V> |
| Modifier and Type | Field and Description |
|---|---|
private boolean |
shutdown |
| Modifier | Constructor and Description |
|---|---|
private |
NoOpScheduledExecutorService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long timeout,
java.util.concurrent.TimeUnit unit) |
void |
execute(java.lang.Runnable runnable) |
boolean |
isShutdown() |
boolean |
isTerminated() |
<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) |
void |
shutdown() |
java.util.List<java.lang.Runnable> |
shutdownNow() |
newTaskFor, newTaskFor, submit, submit, submitinvokeAll, invokeAll, invokeAny, invokeAnyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitschedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelaypublic void shutdown()
shutdown in interface java.util.concurrent.ExecutorServicepublic java.util.List<java.lang.Runnable> shutdownNow()
shutdownNow in interface java.util.concurrent.ExecutorServicepublic boolean isShutdown()
isShutdown in interface java.util.concurrent.ExecutorServicepublic boolean isTerminated()
isTerminated in interface java.util.concurrent.ExecutorServicepublic boolean awaitTermination(long timeout,
java.util.concurrent.TimeUnit unit)
awaitTermination in interface java.util.concurrent.ExecutorServicepublic void execute(java.lang.Runnable runnable)
execute in interface java.util.concurrent.Executorpublic <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<?> schedule(java.lang.Runnable command, 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