Class AbstractBootstrap.PendingRegistrationPromise
java.lang.Object
io.netty.util.concurrent.AbstractFuture<Void>
io.netty.util.concurrent.DefaultPromise<Void>
io.netty.channel.DefaultChannelPromise
io.netty.bootstrap.AbstractBootstrap.PendingRegistrationPromise
- All Implemented Interfaces:
ChannelFlushPromiseNotifier.FlushCheckpoint, ChannelFuture, ChannelPromise, Future<Void>, Promise<Void>, Future<Void>
- Enclosing class:
AbstractBootstrap<B extends AbstractBootstrap<B,C>, C extends Channel>
-
Field Summary
FieldsFields inherited from class DefaultPromise
PROPERTY_MAX_LISTENER_STACK_DEPTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EventExecutorexecutor()Get the executor used to notify listeners when this promise is complete.(package private) voidMethods inherited from class DefaultChannelPromise
addListener, addListeners, await, awaitUninterruptibly, channel, checkDeadLock, flushCheckpoint, flushCheckpoint, isVoid, promise, removeListener, removeListeners, setFailure, setSuccess, setSuccess, sync, syncUninterruptibly, trySuccess, unvoidMethods inherited from class DefaultPromise
await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, get, get, getNow, isCancellable, isCancelled, isDone, isSuccess, notifyListener, setUncancellable, toString, toStringBuilder, tryFailure, trySuccessMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Future
await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccessMethods inherited from interface Future
get, get, isCancelled, isDoneMethods inherited from interface Promise
setUncancellable, tryFailure, trySuccess
-
Field Details
-
registered
private volatile boolean registered
-
-
Constructor Details
-
PendingRegistrationPromise
PendingRegistrationPromise(Channel channel)
-
-
Method Details
-
registered
void registered() -
executor
Description copied from class:DefaultPromiseGet the executor used to notify listeners when this promise is complete.It is assumed this executor will protect against
StackOverflowErrorexceptions. The executor may be used to avoidStackOverflowErrorby executing aRunnableif the stack depth exceeds a threshold.- Overrides:
executorin classDefaultChannelPromise- Returns:
- The executor used to notify listeners when this promise is complete.
-