Class AbstractFutureProxy<V>
java.lang.Object
org.apache.commons.lang3.concurrent.AbstractFutureProxy<V>
- Type Parameters:
V- The result type returned by this Future'sget()andget(long, TimeUnit)methods.
- All Implemented Interfaces:
Future<V>
-
Nested Class Summary
Nested classes/interfaces inherited from interface Future
Future.State -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Future
exceptionNow, resultNow, state
-
Constructor Details
-
AbstractFutureProxy
-
-
Method Details
-
cancel
-
get
- 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
-
getFuture
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceFuture<V>
-
isDone
-