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

Classes

OperationFutureImpl<ResponseT,MetadataT>

An ApiFuture which tracks polling of a service. The polling is done periodically, based on the com.google.api.gax.retrying.TimedRetryAlgorithm.

This class is thread-safe.

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

OperationFutures

OperationResponsePollAlgorithm

Operation polling algorithm, which keeps retrying until OperationSnapshot#isDone() is true.

OperationTimedPollAlgorithm

Operation 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

OperationFuture<ResponseT,MetadataT>

An ApiFuture which tracks polling of a service. The polling is done periodically, based on the com.google.api.gax.retrying.TimedRetryAlgorithm.

Implementations are expected to be thread-safe.

OperationSnapshot

A snapshot of a long-running operation.

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