private static final class UnorderedThreadPoolEventExecutor.RunnableScheduledFutureTask<V> extends PromiseTask<V> implements java.util.concurrent.RunnableScheduledFuture<V>, ScheduledFuture<V>
| Modifier and Type | Field and Description |
|---|---|
private java.util.concurrent.RunnableScheduledFuture<V> |
future |
task| Constructor and Description |
|---|
RunnableScheduledFutureTask(EventExecutor executor,
java.util.concurrent.Callable<V> callable,
java.util.concurrent.RunnableScheduledFuture<V> future) |
RunnableScheduledFutureTask(EventExecutor executor,
java.lang.Runnable runnable,
java.util.concurrent.RunnableScheduledFuture<V> future) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.util.concurrent.Delayed o) |
long |
getDelay(java.util.concurrent.TimeUnit unit) |
boolean |
isPeriodic() |
void |
run() |
equals, hashCode, setFailure, setFailureInternal, setSuccess, setSuccessInternal, setUncancellable, setUncancellableInternal, toCallable, toStringBuilder, tryFailure, tryFailureInternal, trySuccess, trySuccessInternaladdListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, checkDeadLock, executor, getNow, isCancellable, isCancelled, isDone, isSuccess, notifyListener, notifyProgressiveListeners, removeListener, removeListeners, sync, syncUninterruptibly, toStringget, getclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccess, removeListener, removeListeners, sync, syncUninterruptiblyprivate final java.util.concurrent.RunnableScheduledFuture<V> future
RunnableScheduledFutureTask(EventExecutor executor, java.lang.Runnable runnable, java.util.concurrent.RunnableScheduledFuture<V> future)
RunnableScheduledFutureTask(EventExecutor executor, java.util.concurrent.Callable<V> callable, java.util.concurrent.RunnableScheduledFuture<V> future)
public void run()
run in interface java.lang.Runnablerun in interface java.util.concurrent.RunnableFuture<V>run in class PromiseTask<V>public boolean isPeriodic()
isPeriodic in interface java.util.concurrent.RunnableScheduledFuture<V>public long getDelay(java.util.concurrent.TimeUnit unit)
getDelay in interface java.util.concurrent.Delayedpublic int compareTo(java.util.concurrent.Delayed o)
compareTo in interface java.lang.Comparable<java.util.concurrent.Delayed>