Uses of Class
com.google.api.gax.retrying.TimedAttemptSettings
Packages that use TimedAttemptSettings
-
Uses of TimedAttemptSettings in com.google.api.gax.longrunning
Methods in com.google.api.gax.longrunning that return TimedAttemptSettingsModifier and TypeMethodDescriptionOperationResponsePollAlgorithm.createNextAttempt(Throwable prevThrowable, OperationSnapshot prevResponse, TimedAttemptSettings prevSettings) Methods in com.google.api.gax.longrunning with parameters of type TimedAttemptSettingsModifier and TypeMethodDescriptionOperationResponsePollAlgorithm.createNextAttempt(Throwable prevThrowable, OperationSnapshot prevResponse, TimedAttemptSettings prevSettings) booleanOperationTimedPollAlgorithm.shouldRetry(TimedAttemptSettings nextAttemptSettings) Returnstrueif another poll operation should be made or throwsCancellationExceptionotherwise. -
Uses of TimedAttemptSettings in com.google.api.gax.retrying
Methods in com.google.api.gax.retrying that return TimedAttemptSettingsModifier and TypeMethodDescriptionabstract TimedAttemptSettingsTimedAttemptSettings.Builder.build()ExponentialRetryAlgorithm.createFirstAttempt()Creates a first attemptTimedAttemptSettings.ExponentialRetryAlgorithm.createFirstAttempt(RetryingContext context) Creates a first attemptTimedAttemptSettings.RetryAlgorithm.createFirstAttempt()Deprecated.RetryAlgorithm.createFirstAttempt(RetryingContext context) Creates a first attemptTimedAttemptSettings.TimedRetryAlgorithm.createFirstAttempt()Same asTimedRetryAlgorithmWithContext.createFirstAttempt(RetryingContext), but without aRetryingContext.TimedRetryAlgorithmWithContext.createFirstAttempt(RetryingContext context) Creates a first attemptTimedAttemptSettings.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.BasicResultRetryAlgorithm.createNextAttempt(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.ExponentialRetryAlgorithm.createNextAttempt(TimedAttemptSettings previousSettings) Creates a next attemptTimedAttemptSettings.ResultRetryAlgorithm.createNextAttempt(Throwable prevThrowable, ResponseT prevResponse, TimedAttemptSettings prevSettings) 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.RetryAlgorithm.createNextAttempt(Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings) Deprecated.StreamingRetryAlgorithm.createNextAttempt(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings) Creates a next attemptTimedAttemptSettings.StreamingRetryAlgorithm.createNextAttempt(Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings) Creates a next attemptTimedAttemptSettings.TimedRetryAlgorithm.createNextAttempt(TimedAttemptSettings prevSettings) TimedRetryAlgorithmWithContext.createNextAttempt(RetryingContext context, TimedAttemptSettings previousSettings) Creates a next attemptTimedAttemptSettings, which defines properties of the next attempt.RetryingFuture.getAttemptSettings()Returns current (active) attempt settings.Methods in com.google.api.gax.retrying with parameters of type TimedAttemptSettingsModifier and TypeMethodDescriptionBasicResultRetryAlgorithm.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.BasicResultRetryAlgorithm.createNextAttempt(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.ExponentialRetryAlgorithm.createNextAttempt(TimedAttemptSettings previousSettings) Creates a next attemptTimedAttemptSettings.ResultRetryAlgorithm.createNextAttempt(Throwable prevThrowable, ResponseT prevResponse, TimedAttemptSettings prevSettings) 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.RetryAlgorithm.createNextAttempt(Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings) Deprecated.StreamingRetryAlgorithm.createNextAttempt(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings) Creates a next attemptTimedAttemptSettings.StreamingRetryAlgorithm.createNextAttempt(Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings) Creates a next attemptTimedAttemptSettings.TimedRetryAlgorithm.createNextAttempt(TimedAttemptSettings prevSettings) TimedRetryAlgorithmWithContext.createNextAttempt(RetryingContext context, TimedAttemptSettings previousSettings) Creates a next attemptTimedAttemptSettings, which defines properties of the next attempt.booleanExponentialPollAlgorithm.shouldRetry(TimedAttemptSettings nextAttemptSettings) Returnstrueif another poll operation should be made or throwsPollException, if either total timeout or total number of attempts is exceeded.booleanExponentialRetryAlgorithm.shouldRetry(RetryingContext context, TimedAttemptSettings nextAttemptSettings) Returnstrueif another attempt should be made, orfalseotherwise.booleanExponentialRetryAlgorithm.shouldRetry(TimedAttemptSettings nextAttemptSettings) Returnstrueif another attempt should be made, orfalseotherwise.booleanRetryAlgorithm.shouldRetry(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings nextAttemptSettings) Returnstrueif another attempt should be made, orfalseotherwise.booleanRetryAlgorithm.shouldRetry(Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings nextAttemptSettings) Deprecated.booleanStreamingRetryAlgorithm.shouldRetry(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings nextAttemptSettings) Returnstrueif another attempt should be made, orfalseotherwise.booleanStreamingRetryAlgorithm.shouldRetry(Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings nextAttemptSettings) Returnstrueif another attempt should be made, orfalseotherwise.booleanTimedRetryAlgorithm.shouldRetry(TimedAttemptSettings nextAttemptSettings) Same asTimedRetryAlgorithmWithContext.shouldRetry(RetryingContext, TimedAttemptSettings), but without aRetryingContext.booleanTimedRetryAlgorithmWithContext.shouldRetry(RetryingContext context, TimedAttemptSettings nextAttemptSettings) Returnstrueif another attempt should be made, orfalseotherwise.
RetryAlgorithm.createFirstAttempt(RetryingContext)instead