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 private
LazyChannelPromise()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, 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: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.
-
-