Class BatchEntry<ElementT,ElementResultT> (2.68.2)

publicabstractclassBatchEntry<ElementT,ElementResultT>

This class contains the element and its corresponding unresolved future, which would be resolved when batch issuccessful orfailed.

Inheritance

java.lang.Object >BatchEntry<ElementT,ElementResultT>

Type Parameters

NameDescription
ElementT
ElementResultT

Static Methods

<ElementT,ElementResultT>create(ElementT element, SettableApiFuture<ElementResultT> resultFuture)

publicstaticBatchEntry<ElementT,ElementResultT><ElementT,ElementResultT>create(ElementTelement,SettableApiFuture<ElementResultT>resultFuture)

Returns a new BatchEntry

Parameters
NameDescription
elementElementT
resultFutureSettableApiFuture<ElementResultT>
Returns
TypeDescription
BatchEntry<ElementT,ElementResultT>

Constructors

BatchEntry()

publicBatchEntry()

Methods

getElement()

publicabstractElementTgetElement()
Returns
TypeDescription
ElementT

getResultFuture()

publicabstractSettableApiFuture<ElementResultT>getResultFuture()
Returns
TypeDescription
SettableApiFuture<ElementResultT>

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.