Package com.logicaldoc.util.concurrent
Class FutureElaboration<T,V> 
java.lang.Object
com.logicaldoc.util.concurrent.FutureElaboration<T,V> 
- Type Parameters:
- T- Type of the object being elaborated
- V- Type of the wrapped future
- All Implemented Interfaces:
- Future<V>
- Direct Known Subclasses:
- DocumentFuture
A future that wraps an other future representing some kind of elaboration on a specified object
- Since:
- 9.2
- Author:
- Marco Meschieri - LogicalDOC
- 
Nested Class SummaryNested classes/interfaces inherited from interface java.util.concurrent.FutureFuture.State
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.FutureexceptionNow, resultNow, state
- 
Constructor Details- 
FutureElaboration
 
- 
- 
Method Details- 
cancelpublic boolean cancel(boolean mayInterruptIfRunning) 
- 
isCancelledpublic boolean isCancelled()- Specified by:
- isCancelledin interface- Future<T>
 
- 
isDonepublic boolean isDone()
- 
get- Specified by:
- getin interface- Future<T>
- Throws:
- InterruptedException
- ExecutionException
 
- 
getpublic V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
- getin interface- Future<T>
- Throws:
- InterruptedException
- ExecutionException
- TimeoutException
 
- 
getObject
 
-