Package io.netty.util.concurrent
Class AbstractFuture<V>
java.lang.Object
io.netty.util.concurrent.AbstractFuture<V>
- Type Parameters:
V
-
- Direct Known Subclasses:
CompleteFuture
,DefaultPromise
,VoidChannelPromise
Abstract
Future
implementation which does not allow for cancellation.-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.netty.util.concurrent.Future
addListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccess, removeListener, removeListeners, sync, syncUninterruptibly
Methods inherited from interface java.util.concurrent.Future
exceptionNow, isCancelled, isDone, resultNow, state
-
Constructor Details
-
AbstractFuture
public AbstractFuture()
-
-
Method Details
-
get
- Specified by:
get
in interfaceFuture<V>
- Throws:
InterruptedException
ExecutionException
-
get
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
get
in interfaceFuture<V>
- Throws:
InterruptedException
ExecutionException
TimeoutException
-