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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
LazyChannelPromise
private LazyChannelPromise()
-
-
Method Details
-
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.
-