| Modifier and Type | Class and Description |
|---|---|
static interface |
ChainedOperation.Operation<T> |
| Constructor and Description |
|---|
ChainedOperation(ChainedOperation.Operation<T> operation) |
public ChainedOperation(ChainedOperation.Operation<T> operation)
public void call()
public boolean cancel(boolean mayInterruptIfRunning)
public T get() throws InterruptedException, ExecutionException
get in interface Future<T>InterruptedExceptionExecutionExceptionpublic T get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<T>InterruptedExceptionExecutionExceptionTimeoutExceptionpublic boolean isCancelled()
isCancelled in interface Future<T>Copyright © 2016. All Rights Reserved.