Class BatchedFuture<ResponseT> (2.8.1)

public class BatchedFuture<ResponseT> extends AbstractApiFuture<ResponseT>

An ApiFuture to be used with batching.

This is public only for technical reasons, for advanced usage.

Inheritance

java.lang.Object > com.google.api.core.AbstractApiFuture > BatchedFuture<ResponseT>

Type Parameter

Name Description
ResponseT

Constructors

BatchedFuture()

public BatchedFuture()

Methods

<T>create()

public static BatchedFuture<T> <T>create()

Get a new instance.

Returns
Type Description
BatchedFuture<T>

set(ResponseT value)

public boolean set(ResponseT value)
Parameter
Name Description
value ResponseT
Returns
Type Description
boolean
Overrides
com.google.api.core.AbstractApiFuture.set(V)

setException(Throwable throwable)

public boolean setException(Throwable throwable)
Parameter
Name Description
throwable Throwable
Returns
Type Description
boolean
Overrides
com.google.api.core.AbstractApiFuture.setException(java.lang.Throwable)