Class UnorderedThreadPoolEventExecutor.RunnableScheduledFutureTask<V>
java.lang.Object
io.netty.util.concurrent.AbstractFuture<V>
io.netty.util.concurrent.DefaultPromise<V>
io.netty.util.concurrent.PromiseTask<V>
io.netty.util.concurrent.UnorderedThreadPoolEventExecutor.RunnableScheduledFutureTask<V>
- All Implemented Interfaces:
Future<V>, Promise<V>, ScheduledFuture<V>, Comparable<Delayed>, Runnable, Delayed, Future<V>, RunnableFuture<V>, RunnableScheduledFuture<V>, ScheduledFuture<V>
- Enclosing class:
UnorderedThreadPoolEventExecutor
private static final class UnorderedThreadPoolEventExecutor.RunnableScheduledFutureTask<V>
extends PromiseTask<V>
implements RunnableScheduledFuture<V>, ScheduledFuture<V>
-
Field Summary
FieldsFields inherited from class DefaultPromise
PROPERTY_MAX_LISTENER_STACK_DEPTH -
Constructor Summary
ConstructorsConstructorDescriptionRunnableScheduledFutureTask(EventExecutor executor, RunnableScheduledFuture<V> future, boolean wasCallable) -
Method Summary
Methods inherited from class PromiseTask
cancel, equals, hashCode, setFailure, setFailureInternal, setSuccess, setSuccessInternal, setUncancellable, setUncancellableInternal, toStringBuilder, tryFailure, tryFailureInternal, trySuccess, trySuccessInternalMethods inherited from class DefaultPromise
addListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cause, checkDeadLock, executor, get, get, getNow, isCancellable, isCancelled, isDone, isSuccess, notifyListener, notifyProgressiveListeners, removeListener, removeListeners, sync, syncUninterruptibly, toStringMethods inherited from interface Future
await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccessMethods inherited from interface Future
get, get, isCancelled, isDone
-
Field Details
-
future
-
wasCallable
private final boolean wasCallable
-
-
Constructor Details
-
RunnableScheduledFutureTask
RunnableScheduledFutureTask(EventExecutor executor, RunnableScheduledFuture<V> future, boolean wasCallable)
-
-
Method Details
-
runTask
-
run
public void run()- Specified by:
runin interfaceRunnable- Specified by:
runin interfaceRunnableFuture<V>- Overrides:
runin classPromiseTask<V>
-
isPeriodic
public boolean isPeriodic()- Specified by:
isPeriodicin interfaceRunnableScheduledFuture<V>
-
getDelay
-
compareTo
- Specified by:
compareToin interfaceComparable<V>
-