Package com.google.api.gax.rpc
Class BatchedFuture<ResponseT>
java.lang.Object
com.google.api.core.AbstractApiFuture<ResponseT>
com.google.api.gax.rpc.BatchedFuture<ResponseT>
An ApiFuture to be used with batching.
This is public only for technical reasons, for advanced usage.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> BatchedFuture<T>create()Get a new instance.booleanbooleansetException(Throwable throwable) Methods inherited from class com.google.api.core.AbstractApiFuture
addListener, cancel, get, get, interruptTask, isCancelled, isDone
-
Constructor Details
-
BatchedFuture
public BatchedFuture()
-
-
Method Details
-
create
Get a new instance. -
set
- Overrides:
setin classAbstractApiFuture<ResponseT>
-
setException
- Overrides:
setExceptionin classAbstractApiFuture<ResponseT>
-