public class BatchedFuture<ResponseT> extends AbstractApiFuture<ResponseT>
An ApiFuture to be used with batching.
This is public only for technical reasons, for advanced usage.
Type Parameter
Name | Description |
ResponseT |
Static Methods
<T>create()
public static BatchedFuture<T> <T>create()
Get a new instance.
Type | Description |
BatchedFuture<T> |
Constructors
BatchedFuture()
public BatchedFuture()
Methods
set(ResponseT value)
public boolean set(ResponseT value)
Name | Description |
value | ResponseT |
Type | Description |
boolean |
setException(Throwable throwable)
public boolean setException(Throwable throwable)
Name | Description |
throwable | Throwable |
Type | Description |
boolean |