| Modifier and Type | Field and Description |
|---|---|
protected static int |
RPC_DONE |
protected static int |
RPC_ERROR |
protected static int |
RPC_PENDING |
protected Future<R> |
rpcResult |
| Constructor and Description |
|---|
CoreMetaDataOperation(Future<R> result) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
T |
early() |
T |
get() |
T |
get(long timeout,
TimeUnit unit) |
boolean |
isCancelled() |
boolean |
isDone() |
protected static int RPC_PENDING
protected static int RPC_DONE
protected static int RPC_ERROR
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 cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<T>Copyright © 2018 The Apache Software Foundation. All rights reserved.