Class MoreExecutors.ScheduledListeningDecorator
java.lang.Object
java.util.concurrent.AbstractExecutorService
com.google.common.util.concurrent.AbstractListeningExecutorService
com.google.common.util.concurrent.MoreExecutors.ListeningDecorator
com.google.common.util.concurrent.MoreExecutors.ScheduledListeningDecorator
- All Implemented Interfaces:
ListeningExecutorService,ListeningScheduledExecutorService,AutoCloseable,Executor,ExecutorService,ScheduledExecutorService
- Enclosing class:
MoreExecutors
private static final class MoreExecutors.ScheduledListeningDecorator
extends MoreExecutors.ListeningDecorator
implements ListeningScheduledExecutorService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classprivate static final class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V> ListenableScheduledFuture<V> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) Methods inherited from class com.google.common.util.concurrent.MoreExecutors.ListeningDecorator
awaitTermination, execute, isShutdown, isTerminated, shutdown, shutdownNow, toStringMethods inherited from class com.google.common.util.concurrent.AbstractListeningExecutorService
newTaskFor, newTaskFor, submit, submit, submitMethods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAnyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, close, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNowMethods inherited from interface com.google.common.util.concurrent.ListeningExecutorService
awaitTermination, invokeAll, invokeAll, invokeAll, invokeAny, submit, submit, submitMethods inherited from interface com.google.common.util.concurrent.ListeningScheduledExecutorService
schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay
-
Field Details
-
delegate
-
-
Constructor Details
-
ScheduledListeningDecorator
ScheduledListeningDecorator(ScheduledExecutorService delegate)
-
-
Method Details
-
schedule
- Specified by:
schedulein interfaceListeningScheduledExecutorService- Specified by:
schedulein interfaceScheduledExecutorService
-
schedule
- Specified by:
schedulein interfaceListeningScheduledExecutorService- Specified by:
schedulein interfaceScheduledExecutorService
-
scheduleAtFixedRate
public ListenableScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) - Specified by:
scheduleAtFixedRatein interfaceListeningScheduledExecutorService- Specified by:
scheduleAtFixedRatein interfaceScheduledExecutorService
-
scheduleWithFixedDelay
public ListenableScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) - Specified by:
scheduleWithFixedDelayin interfaceListeningScheduledExecutorService- Specified by:
scheduleWithFixedDelayin interfaceScheduledExecutorService
-