Package io.netty.bootstrap
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>
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Field Summary
FieldsFields inherited from class io.netty.util.concurrent.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 io.netty.channel.DefaultChannelPromise
addListener, addListeners, await, awaitUninterruptibly, channel, checkDeadLock, flushCheckpoint, flushCheckpoint, isVoid, promise, removeListener, removeListeners, setFailure, setSuccess, setSuccess, sync, syncUninterruptibly, trySuccess, unvoidMethods inherited from class io.netty.util.concurrent.DefaultPromise
await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, get, get, getNow, isCancellable, isCancelled, isDone, isSuccess, notifyListener, setUncancellable, toString, toStringBuilder, tryFailure, trySuccessMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.netty.util.concurrent.Future
await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccessMethods inherited from interface java.util.concurrent.Future
exceptionNow, get, get, isCancelled, isDone, resultNow, stateMethods inherited from interface io.netty.util.concurrent.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.
-