Package io.netty.handler.ssl
Class SslHandler.LazyChannelPromise
- java.lang.Object
-
- io.netty.util.concurrent.AbstractFuture<V>
-
- io.netty.util.concurrent.DefaultPromise<Channel>
-
- io.netty.handler.ssl.SslHandler.LazyChannelPromise
-
- Enclosing class:
- SslHandler
private final class SslHandler.LazyChannelPromise extends DefaultPromise<Channel>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateLazyChannelPromise()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckDeadLock()protected EventExecutorexecutor()Get the executor used to notify listeners when this promise is complete.-
Methods inherited from class io.netty.util.concurrent.DefaultPromise
addListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, get, get, getNow, isCancellable, isCancelled, isDone, isSuccess, notifyListener, removeListener, removeListeners, setFailure, setSuccess, setUncancellable, sync, syncUninterruptibly, toString, toStringBuilder, tryFailure, trySuccess
-
-
-
-
Method Detail
-
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 classDefaultPromise<Channel>- Returns:
- The executor used to notify listeners when this promise is complete.
-
checkDeadLock
protected void checkDeadLock()
- Overrides:
checkDeadLockin classDefaultPromise<Channel>
-
-