Uses of Interface
com.google.api.gax.retrying.RetryingContext
Packages that use RetryingContext
-
Uses of RetryingContext in com.google.api.gax.retrying
Methods in com.google.api.gax.retrying with parameters of type RetryingContextModifier and TypeMethodDescriptionExponentialRetryAlgorithm.createFirstAttempt(RetryingContext context) Creates a first attemptTimedAttemptSettings.RetryAlgorithm.createFirstAttempt(RetryingContext context) Creates a first attemptTimedAttemptSettings.TimedRetryAlgorithmWithContext.createFirstAttempt(RetryingContext context) Creates a first attemptTimedAttemptSettings.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.RetryingExecutorWithContext.createFuture(Callable<ResponseT> callable, RetryingContext context) 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.BasicResultRetryAlgorithm.createNextAttempt(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings) Always returns null, indicating that this algorithm does not provide any specific settings for the next attempt.ExponentialRetryAlgorithm.createNextAttempt(RetryingContext context, TimedAttemptSettings previousSettings) Creates a next attemptTimedAttemptSettings.ResultRetryAlgorithmWithContext.createNextAttempt(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings) Creates a next attemptTimedAttemptSettings.RetryAlgorithm.createNextAttempt(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings) Creates a next attemptTimedAttemptSettings.StreamingRetryAlgorithm.createNextAttempt(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings) Creates a next attemptTimedAttemptSettings.TimedRetryAlgorithmWithContext.createNextAttempt(RetryingContext context, TimedAttemptSettings previousSettings) Creates a next attemptTimedAttemptSettings, which defines properties of the next attempt.booleanBasicResultRetryAlgorithm.shouldRetry(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse) Returnstrueif an exception was thrown (previousThrowable != null),falseotherwise.booleanExponentialRetryAlgorithm.shouldRetry(RetryingContext context, TimedAttemptSettings nextAttemptSettings) Returnstrueif another attempt should be made, orfalseotherwise.booleanResultRetryAlgorithmWithContext.shouldRetry(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse) Returnstrueif another attempt should be made, orfalseotherwise.booleanRetryAlgorithm.shouldRetry(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings nextAttemptSettings) Returnstrueif another attempt should be made, orfalseotherwise.booleanStreamingRetryAlgorithm.shouldRetry(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings nextAttemptSettings) Returnstrueif another attempt should be made, orfalseotherwise.booleanTimedRetryAlgorithmWithContext.shouldRetry(RetryingContext context, TimedAttemptSettings nextAttemptSettings) Returnstrueif another attempt should be made, orfalseotherwise. -
Uses of RetryingContext in com.google.api.gax.rpc
Subinterfaces of RetryingContext in com.google.api.gax.rpc