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, trySuccessInternal
addListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, checkDeadLock, executor, getNow, isCancellable, isCancelled, isDone, isSuccess, notifyListener, notifyProgressiveListeners, removeListener, removeListeners, sync, syncUninterruptibly, toString
get, get
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccess, removeListener, removeListeners, sync, syncUninterruptibly
private 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.Runnable
run
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.Delayed
public int compareTo(java.util.concurrent.Delayed o)
compareTo
in interface java.lang.Comparable<java.util.concurrent.Delayed>