Package org.camunda.bpm.engine.impl.util
Class SyncFuture<V>
java.lang.Object
org.camunda.bpm.engine.impl.util.SyncFuture<V>
- All Implemented Interfaces:
- Future<V>
- Author:
- Daniel Meyer
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
SyncFuture
- 
SyncFuture
 
- 
- 
Method Details- 
cancelpublic boolean cancel(boolean mayInterruptIfRunning) 
- 
isCancelledpublic boolean isCancelled()- Specified by:
- isCancelledin interface- Future<V>
 
- 
isDonepublic boolean isDone()
- 
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
 
 
-