Class AbstractFutureProxy<V>
java.lang.Object
org.apache.commons.lang3.concurrent.AbstractFutureProxy<V>
- Type Parameters:
- V- The result type returned by this Future's- get()and- get(long, TimeUnit)methods.
- All Implemented Interfaces:
- Future<V>
Proxies to a 
Future for subclassing.- Since:
- 3.13.0
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
AbstractFutureProxyConstructs a new instance.- Parameters:
- future- the delegate.
 
 
- 
- 
Method Details- 
cancel
- 
get- Specified by:
- getin interface- Future<V>
- Throws:
- InterruptedException
- ExecutionException
 
- 
getpublic V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
- getin interface- Future<V>
- Throws:
- InterruptedException
- ExecutionException
- TimeoutException
 
- 
getFutureGets the delegate.- Returns:
- the delegate.
 
- 
isCancelled- Specified by:
- isCancelledin interface- Future<V>
 
- 
isDone
 
-