Package io.netty.bootstrap
Class AbstractBootstrap.PendingRegistrationPromise
- java.lang.Object
-
- io.netty.util.concurrent.AbstractFuture<V>
-
- io.netty.util.concurrent.DefaultPromise<java.lang.Void>
-
- io.netty.channel.DefaultChannelPromise
-
- io.netty.bootstrap.AbstractBootstrap.PendingRegistrationPromise
-
- All Implemented Interfaces:
ChannelFlushPromiseNotifier.FlushCheckpoint,ChannelFuture,ChannelPromise,Future<java.lang.Void>,Promise<java.lang.Void>,java.util.concurrent.Future<java.lang.Void>
- Enclosing class:
- AbstractBootstrap<B extends AbstractBootstrap<B,C>,C extends Channel>
static final class AbstractBootstrap.PendingRegistrationPromise extends DefaultChannelPromise
-
-
Field Summary
Fields Modifier and Type Field Description private booleanregistered
-
Constructor Summary
Constructors Constructor Description PendingRegistrationPromise(Channel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EventExecutorexecutor()Get the executor used to notify listeners when this promise is complete.(package private) voidregistered()-
Methods 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, unvoid
-
Methods 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, trySuccess
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.netty.util.concurrent.Future
await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccess
-
Methods inherited from interface io.netty.util.concurrent.Promise
setUncancellable, tryFailure, trySuccess
-
-
-
-
Constructor Detail
-
PendingRegistrationPromise
PendingRegistrationPromise(Channel channel)
-
-
Method Detail
-
registered
void registered()
-
executor
protected EventExecutor 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.
-
-