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
public abstract class AbstractFuture<V> extends Object implements Future<V>
AbstractFutureimplementation which does not allow for cancellation.
-
-
Constructor Summary
Constructors Constructor Description AbstractFuture()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vget()Vget(long timeout, TimeUnit unit)-
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
isCancelled, isDone
-
-
-
-
Method Detail
-
get
public V get() throws InterruptedException, ExecutionException
- Specified by:
getin interfaceFuture<V>- Throws:
InterruptedExceptionExecutionException
-
get
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
- Specified by:
getin interfaceFuture<V>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-
-