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 boolean
registered
-
Fields inherited from class io.netty.util.concurrent.DefaultPromise
PROPERTY_MAX_LISTENER_STACK_DEPTH
-
-
Constructor Summary
Constructors Constructor Description PendingRegistrationPromise(Channel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EventExecutor
executor()
Get the executor used to notify listeners when this promise is complete.(package private) void
registered()
-
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:DefaultPromise
Get the executor used to notify listeners when this promise is complete.It is assumed this executor will protect against
StackOverflowError
exceptions. The executor may be used to avoidStackOverflowError
by executing aRunnable
if the stack depth exceeds a threshold.- Overrides:
executor
in classDefaultChannelPromise
- Returns:
- The executor used to notify listeners when this promise is complete.
-
-