Package io.netty.util.concurrent
Class AbstractFuture<V>
- java.lang.Object
-
- io.netty.util.concurrent.AbstractFuture<V>
-
- Type Parameters:
V
-
- All Implemented Interfaces:
Future<V>
,java.util.concurrent.Future<V>
- Direct Known Subclasses:
CompleteFuture
,DefaultPromise
,VoidChannelPromise
public abstract class AbstractFuture<V> extends java.lang.Object implements Future<V>
AbstractFuture
implementation 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 V
get()
V
get(long timeout, java.util.concurrent.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
-
-
-
-
Method Detail
-
get
public V get() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
- Specified by:
get
in interfacejava.util.concurrent.Future<V>
- Throws:
java.lang.InterruptedException
java.util.concurrent.ExecutionException
-
get
public V get(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
- Specified by:
get
in interfacejava.util.concurrent.Future<V>
- Throws:
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
-
-