| Constructor and Description |
|---|
ForwardingTSOFuture(org.apache.phoenix.thirdparty.com.google.common.util.concurrent.ListenableFuture<T> future) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(Runnable listener,
Executor executor) |
boolean |
cancel(boolean mayInterruptIfRunning) |
T |
get() |
T |
get(long timeout,
TimeUnit unit) |
boolean |
isCancelled() |
boolean |
isDone() |
public ForwardingTSOFuture(org.apache.phoenix.thirdparty.com.google.common.util.concurrent.ListenableFuture<T> future)
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<T>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 void addListener(Runnable listener, Executor executor)
addListener in interface TSOFuture<T>Copyright © 2011–2020 Apache Software Foundation. All rights reserved.