Uses of Interface
com.google.api.gax.retrying.RetryingFuture
-
Packages that use RetryingFuture Package Description com.google.api.gax.longrunning com.google.api.gax.retrying -
-
Uses of RetryingFuture in com.google.api.gax.longrunning
Methods in com.google.api.gax.longrunning that return RetryingFuture Modifier and Type Method Description RetryingFuture<OperationSnapshot>OperationFuture. getPollingFuture()Returns theRetryingFuturewhich continues to pollOperationSnapshot.RetryingFuture<OperationSnapshot>OperationFutureImpl. getPollingFuture()Constructors in com.google.api.gax.longrunning with parameters of type RetryingFuture Constructor Description OperationFutureImpl(RetryingFuture<OperationSnapshot> pollingFuture, ApiFuture<OperationSnapshot> initialFuture, ApiFunction<OperationSnapshot,ResponseT> responseTransformer, ApiFunction<OperationSnapshot,MetadataT> metadataTransformer)Creates a new operation future instance.OperationFutureImpl(RetryingFuture<OperationSnapshot> pollingFuture, ApiFuture<OperationSnapshot> initialFuture, ApiFunction<OperationSnapshot,ResponseT> responseTransformer, ApiFunction<OperationSnapshot,MetadataT> metadataTransformer, ApiFunction<Exception,ResponseT> exceptionTransformer) -
Uses of RetryingFuture in com.google.api.gax.retrying
Methods in com.google.api.gax.retrying that return RetryingFuture Modifier and Type Method Description RetryingFuture<ResponseT>DirectRetryingExecutor. createFuture(Callable<ResponseT> callable)Creates aRetryingFuture, which is a facade, returned to the client code to wait for any retriable operation to complete.RetryingFuture<ResponseT>DirectRetryingExecutor. createFuture(Callable<ResponseT> callable, RetryingContext context)Creates aRetryingFuture, which is a facade, returned to the client code to wait for any retriable operation to complete.RetryingFuture<ResponseT>RetryingExecutor. createFuture(Callable<ResponseT> callable)Creates theRetryingFuture, which is a facade, returned to the client code to wait for any retriable operation to complete.RetryingFuture<ResponseT>RetryingExecutorWithContext. createFuture(Callable<ResponseT> callable, RetryingContext context)RetryingFuture<ResponseT>ScheduledRetryingExecutor. createFuture(Callable<ResponseT> callable)Creates aRetryingFuture, which is a facade, returned to the client code to wait for any retriable operation to complete.RetryingFuture<ResponseT>ScheduledRetryingExecutor. createFuture(Callable<ResponseT> callable, RetryingContext context)Creates aRetryingFuture, which is a facade, returned to the client code to wait for any retriable operation to complete.Methods in com.google.api.gax.retrying with parameters of type RetryingFuture Modifier and Type Method Description ApiFuture<ResponseT>DirectRetryingExecutor. submit(RetryingFuture<ResponseT> retryingFuture)Submits an attempt for execution in the current thread, causing the current thread to sleep for the specified by thegetAttemptSettings()amount of time.ApiFuture<ResponseT>RetryingExecutor. submit(RetryingFuture<ResponseT> retryingFuture)Submits an attempt for execution.ApiFuture<ResponseT>ScheduledRetryingExecutor. submit(RetryingFuture<ResponseT> retryingFuture)Submits an attempt for execution in a different thread.
-