Package io.netty.handler.proxy
Class ProxyHandler.LazyChannelPromise
- java.lang.Object
-
- io.netty.util.concurrent.AbstractFuture<V>
-
- io.netty.util.concurrent.DefaultPromise<Channel>
-
- io.netty.handler.proxy.ProxyHandler.LazyChannelPromise
-
- Enclosing class:
- ProxyHandler
private final class ProxyHandler.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 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, checkDeadLock, 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.
-
-