Class BatchedFuture<ResponseT> (2.72.2)

publicclassBatchedFuture<ResponseT>extendsAbstractApiFuture<ResponseT>

An ApiFuture to be used with batching.

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

Type Parameter

NameDescription
ResponseT

Static Methods

<T>create()

publicstaticBatchedFuture<T><T>create()

Get a new instance.

Returns
TypeDescription
BatchedFuture<T>

Constructors

BatchedFuture()

publicBatchedFuture()

Methods

set(ResponseT value)

publicbooleanset(ResponseTvalue)
Parameter
NameDescription
valueResponseT
Returns
TypeDescription
boolean
Overrides

setException(Throwable throwable)

publicbooleansetException(Throwablethrowable)
Parameter
NameDescription
throwableThrowable
Returns
TypeDescription
boolean
Overrides

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-17 UTC.