private static final class AbstractBootstrap.PendingRegistrationPromise extends DefaultChannelPromise
Modifier and Type | Field and Description |
---|---|
private EventExecutor |
executor |
Modifier | Constructor and Description |
---|---|
private |
PendingRegistrationPromise(Channel channel) |
Modifier and Type | Method and Description |
---|---|
protected EventExecutor |
executor()
Get the executor used to notify listeners when this promise is complete.
|
addListener, addListeners, await, awaitUninterruptibly, channel, checkDeadLock, flushCheckpoint, flushCheckpoint, promise, removeListener, removeListeners, setFailure, setSuccess, setSuccess, sync, syncUninterruptibly, trySuccess
await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isCancelled, isDone, isSuccess, notifyListener, setUncancellable, toString, toStringBuilder, tryFailure, trySuccess
get, get
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setUncancellable, tryFailure, trySuccess
await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccess
private volatile EventExecutor executor
private PendingRegistrationPromise(Channel channel)
protected EventExecutor executor()
DefaultPromise
It is assumed this executor will protect against StackOverflowError
exceptions.
The executor may be used to avoid StackOverflowError
by executing a Runnable
if the stack
depth exceeds a threshold.
executor
in class DefaultChannelPromise