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 Summary
-
Method Summary
-
Constructor Details
-
SyncFuture
-
SyncFuture
-
-
Method Details
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceFuture<V>
-
isDone
public boolean isDone() -
get
- Specified by:
get
in interfaceFuture<V>
- Throws:
InterruptedException
ExecutionException
-
get
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
get
in interfaceFuture<V>
- Throws:
InterruptedException
ExecutionException
TimeoutException
-