Class AsyncGetFuture<T,E extends Throwable>
java.lang.Object
org.apache.hadoop.thirdparty.com.google.common.util.concurrent.internal.InternalFutureFailureAccess
org.apache.hadoop.thirdparty.com.google.common.util.concurrent.AbstractFuture<T>
org.apache.hadoop.util.concurrent.AsyncGetFuture<T,E>
- All Implemented Interfaces:
Future<T>,org.apache.hadoop.thirdparty.com.google.common.util.concurrent.ListenableFuture<T>
public class AsyncGetFuture<T,E extends Throwable>
extends org.apache.hadoop.thirdparty.com.google.common.util.concurrent.AbstractFuture<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hadoop.thirdparty.com.google.common.util.concurrent.AbstractFuture
addListener, afterDone, cancel, interruptTask, isCancelled, pendingToString, set, setException, setFuture, toString, tryInternalFastPathGetFailure, wasInterrupted
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG
-
-
Constructor Details
-
AsyncGetFuture
-
-
Method Details
-
get
- Specified by:
getin interfaceFuture<T>- Overrides:
getin classorg.apache.hadoop.thirdparty.com.google.common.util.concurrent.AbstractFuture<T>- Throws:
InterruptedExceptionExecutionException
-
get
public T get(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, ExecutionException - Specified by:
getin interfaceFuture<T>- Overrides:
getin classorg.apache.hadoop.thirdparty.com.google.common.util.concurrent.AbstractFuture<T>- Throws:
InterruptedExceptionTimeoutExceptionExecutionException
-
isDone
public boolean isDone()
-