Package com.google.api.gax.retrying
Class NonCancellableFuture<ResponseT>
- java.lang.Object
-
- com.google.api.core.AbstractApiFuture<ResponseT>
-
- com.google.api.gax.retrying.NonCancellableFuture<ResponseT>
-
- Type Parameters:
ResponseT- future response type
@InternalApi public final class NonCancellableFuture<ResponseT> extends AbstractApiFuture<ResponseT>
A future which cannot be cancelled from the external package.For internal use, public for technical reasons.
-
-
Constructor Summary
Constructors Constructor Description NonCancellableFuture()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel(boolean mayInterruptIfRunning)-
Methods inherited from class com.google.api.core.AbstractApiFuture
addListener, get, get, interruptTask, isCancelled, isDone, set, setException
-
-