Constructor and Description |
---|
AsyncResult(V value)
Create a new AsyncResult holder.
|
public AsyncResult(V value)
value
- the value to pass throughpublic boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled
in interface Future<V>