Future
implementation which does not allow for cancellation.
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public V | get()
Implements java. |
public V | get(long
the maximum time to wait timeout, TimeUnit the time unit of the timeout argument unit)Implements java. |
AbstractFuture | back to summary |
---|---|
public AbstractFuture() |
get | back to summary |
---|---|
public V get() throws InterruptedException, ExecutionException Implements java. Doc from java. Waits if necessary for the computation to complete, and then retrieves its result.
|
get | back to summary |
---|---|
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException Implements java. Doc from java. Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.
|