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 private
LazyChannelPromise()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkDeadLock()
protected EventExecutor
executor()
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: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 classDefaultPromise<Channel>
- Returns:
- The executor used to notify listeners when this promise is complete.
-
checkDeadLock
protected void checkDeadLock()
- Overrides:
checkDeadLock
in classDefaultPromise<Channel>
-
-