public class QueuedScheduledExecutorService extends QueuedExecutorService implements java.util.concurrent.ScheduledExecutorService
| Constructor and Description |
|---|
QueuedScheduledExecutorService(java.util.concurrent.ExecutorService delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTerminated() |
<V> java.util.concurrent.ScheduledFuture<V> |
schedule(java.util.concurrent.Callable<V> callable,
long delay,
java.util.concurrent.TimeUnit unit) |
java.util.concurrent.ScheduledFuture<?> |
schedule(java.lang.Runnable command,
long delay,
java.util.concurrent.TimeUnit unit) |
java.util.concurrent.ScheduledFuture<?> |
scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit) |
java.util.concurrent.ScheduledFuture<?> |
scheduleWithFixedDelay(java.lang.Runnable command,
long initialDelay,
long delay,
java.util.concurrent.TimeUnit unit) |
void |
setContinueExistingPeriodicTasksAfterShutdownPolicy(boolean value) |
void |
setExecuteExistingDelayedTasksAfterShutdownPolicy(boolean value) |
void |
setRemoveOnCancelPolicy(boolean removeOnCancel) |
void |
shutdown() |
awaitTermination, execute, isShutdown, shutdownNowinvokeAll, invokeAll, invokeAny, invokeAny, submit, submit, submitequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic QueuedScheduledExecutorService(java.util.concurrent.ExecutorService delegate)
delegate - the executor that will handle the taskspublic boolean isTerminated()
isTerminated in interface java.util.concurrent.ExecutorServiceisTerminated in class QueuedExecutorServicepublic java.util.concurrent.ScheduledFuture<?> schedule(java.lang.Runnable command,
long delay,
java.util.concurrent.TimeUnit unit)
schedule in interface java.util.concurrent.ScheduledExecutorServicepublic <V> java.util.concurrent.ScheduledFuture<V> schedule(java.util.concurrent.Callable<V> callable,
long delay,
java.util.concurrent.TimeUnit unit)
schedule in interface java.util.concurrent.ScheduledExecutorServicepublic java.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit)
scheduleAtFixedRate in interface java.util.concurrent.ScheduledExecutorServicepublic java.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay(java.lang.Runnable command,
long initialDelay,
long delay,
java.util.concurrent.TimeUnit unit)
scheduleWithFixedDelay in interface java.util.concurrent.ScheduledExecutorServicepublic void shutdown()
shutdown in interface java.util.concurrent.ExecutorServiceshutdown in class QueuedExecutorServicepublic void setContinueExistingPeriodicTasksAfterShutdownPolicy(boolean value)
public void setExecuteExistingDelayedTasksAfterShutdownPolicy(boolean value)
public void setRemoveOnCancelPolicy(boolean removeOnCancel)
Copyright © 2014–2019 XMPP.rocks. All rights reserved.