Package com.google.api.gax.longrunning (2.72.2)

GitHub Repository

Classes

ClassDescription
com.google.api.gax.longrunning.OperationFutureImplAn ApiFuture which tracks polling of a service. The polling is done periodically, based on thecom.google.api.gax.retrying.TimedRetryAlgorithm.

This class is thread-safe.

com.google.api.gax.longrunning.OperationFutures
com.google.api.gax.longrunning.OperationResponsePollAlgorithmOperation polling algorithm, which keeps retrying untilOperationSnapshot#isDone() is true.
com.google.api.gax.longrunning.OperationTimedPollAlgorithmOperation timed polling algorithm, which uses exponential backoff factor for determining when the next polling operation should be executed. If the polling exceeds the total timeout this algorithm cancels polling.

Interfaces

InterfaceDescription
com.google.api.gax.longrunning.OperationFutureAn ApiFuture which tracks polling of a service. The polling is done periodically, based on thecom.google.api.gax.retrying.TimedRetryAlgorithm.

Implementations are expected to be thread-safe.

com.google.api.gax.longrunning.OperationSnapshotA snapshot of a long-running operation.

The metadata and response will have a structure defined by the particular long-running operation that was initiated.

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.