Uses of Class
com.google.api.gax.retrying.TimedAttemptSettings
-
Packages that use TimedAttemptSettings Package Description com.google.api.gax.longrunning com.google.api.gax.retrying -
-
Uses of TimedAttemptSettings in com.google.api.gax.longrunning
Methods in com.google.api.gax.longrunning that return TimedAttemptSettings Modifier and Type Method Description TimedAttemptSettingsOperationResponsePollAlgorithm. createNextAttempt(Throwable prevThrowable, OperationSnapshot prevResponse, TimedAttemptSettings prevSettings)Methods in com.google.api.gax.longrunning with parameters of type TimedAttemptSettings Modifier and Type Method Description TimedAttemptSettingsOperationResponsePollAlgorithm. 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 TimedAttemptSettings Modifier and Type Method Description abstract TimedAttemptSettingsTimedAttemptSettings.Builder. build()TimedAttemptSettingsExponentialRetryAlgorithm. createFirstAttempt()Creates a first attemptTimedAttemptSettings.TimedAttemptSettingsExponentialRetryAlgorithm. createFirstAttempt(RetryingContext context)Creates a first attemptTimedAttemptSettings.TimedAttemptSettingsRetryAlgorithm. createFirstAttempt()Deprecated.TimedAttemptSettingsRetryAlgorithm. createFirstAttempt(RetryingContext context)Creates a first attemptTimedAttemptSettings.TimedAttemptSettingsTimedRetryAlgorithm. createFirstAttempt()Same asTimedRetryAlgorithmWithContext.createFirstAttempt(RetryingContext), but without aRetryingContext.TimedAttemptSettingsTimedRetryAlgorithmWithContext. createFirstAttempt(RetryingContext context)Creates a first attemptTimedAttemptSettings.TimedAttemptSettingsBasicResultRetryAlgorithm. 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.TimedAttemptSettingsBasicResultRetryAlgorithm. createNextAttempt(Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings)Always returns null, indicating that this algorithm does not provide any specific settings for the next attempt.TimedAttemptSettingsExponentialRetryAlgorithm. createNextAttempt(RetryingContext context, TimedAttemptSettings previousSettings)Creates a next attemptTimedAttemptSettings.TimedAttemptSettingsExponentialRetryAlgorithm. createNextAttempt(TimedAttemptSettings previousSettings)Creates a next attemptTimedAttemptSettings.TimedAttemptSettingsResultRetryAlgorithm. createNextAttempt(Throwable prevThrowable, ResponseT prevResponse, TimedAttemptSettings prevSettings)TimedAttemptSettingsResultRetryAlgorithmWithContext. createNextAttempt(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings)Creates a next attemptTimedAttemptSettings.TimedAttemptSettingsRetryAlgorithm. createNextAttempt(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings)Creates a next attemptTimedAttemptSettings.TimedAttemptSettingsRetryAlgorithm. createNextAttempt(Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings)Deprecated.TimedAttemptSettingsStreamingRetryAlgorithm. createNextAttempt(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings)Creates a next attemptTimedAttemptSettings.TimedAttemptSettingsStreamingRetryAlgorithm. createNextAttempt(Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings)Creates a next attemptTimedAttemptSettings.TimedAttemptSettingsTimedRetryAlgorithm. createNextAttempt(TimedAttemptSettings prevSettings)TimedAttemptSettingsTimedRetryAlgorithmWithContext. createNextAttempt(RetryingContext context, TimedAttemptSettings previousSettings)Creates a next attemptTimedAttemptSettings, which defines properties of the next attempt.TimedAttemptSettingsRetryingFuture. getAttemptSettings()Returns current (active) attempt settings.Methods in com.google.api.gax.retrying with parameters of type TimedAttemptSettings Modifier and Type Method Description TimedAttemptSettingsBasicResultRetryAlgorithm. 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.TimedAttemptSettingsBasicResultRetryAlgorithm. createNextAttempt(Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings)Always returns null, indicating that this algorithm does not provide any specific settings for the next attempt.TimedAttemptSettingsExponentialRetryAlgorithm. createNextAttempt(RetryingContext context, TimedAttemptSettings previousSettings)Creates a next attemptTimedAttemptSettings.TimedAttemptSettingsExponentialRetryAlgorithm. createNextAttempt(TimedAttemptSettings previousSettings)Creates a next attemptTimedAttemptSettings.TimedAttemptSettingsResultRetryAlgorithm. createNextAttempt(Throwable prevThrowable, ResponseT prevResponse, TimedAttemptSettings prevSettings)TimedAttemptSettingsResultRetryAlgorithmWithContext. createNextAttempt(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings)Creates a next attemptTimedAttemptSettings.TimedAttemptSettingsRetryAlgorithm. createNextAttempt(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings)Creates a next attemptTimedAttemptSettings.TimedAttemptSettingsRetryAlgorithm. createNextAttempt(Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings)Deprecated.TimedAttemptSettingsStreamingRetryAlgorithm. createNextAttempt(RetryingContext context, Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings)Creates a next attemptTimedAttemptSettings.TimedAttemptSettingsStreamingRetryAlgorithm. createNextAttempt(Throwable previousThrowable, ResponseT previousResponse, TimedAttemptSettings previousSettings)Creates a next attemptTimedAttemptSettings.TimedAttemptSettingsTimedRetryAlgorithm. createNextAttempt(TimedAttemptSettings prevSettings)TimedAttemptSettingsTimedRetryAlgorithmWithContext. 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.
-