Example usage for Java com.google.common.util.concurrent ListeningScheduledExecutorService fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | awaitTermination(long timeout, TimeUnit unit) Blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current thread is interrupted, whichever happens first. |
void | execute(Runnable command) Executes the given command at some time in the future. |
boolean | isShutdown() Returns true if this executor has been shut down. |
boolean | isTerminated() Returns true if all tasks have completed following shut down. |
ListenableScheduledFuture> | scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) |
void | shutdown() Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted. |