Uses of Class
com.google.api.gax.retrying.RetrySettings
Package
Description
-
Uses of RetrySettings in com.google.api.gax.batching
Modifier and TypeMethodDescriptionBatchingCallSettings.Builder.setRetrySettings
(RetrySettings retrySettings) Sets theRetrySettings
values for each retry attempts. -
Uses of RetrySettings in com.google.api.gax.longrunning
Modifier and TypeMethodDescriptionstatic OperationTimedPollAlgorithm
OperationTimedPollAlgorithm.create
(RetrySettings globalSettings) Creates the polling algorithm, using the defaultNanoClock
for time computations.static OperationTimedPollAlgorithm
OperationTimedPollAlgorithm.create
(RetrySettings globalSettings, ApiClock clock) -
Uses of RetrySettings in com.google.api.gax.retrying
Modifier and TypeMethodDescriptionRetrySettings.Builder.build()
abstract RetrySettings
TimedAttemptSettings.getGlobalSettings()
Returns global (attempt-independent) retry settings.RetryingContext.getRetrySettings()
Returns theRetrySettings
to use with this context, ornull
if the defaultRetrySettings
should be used.Modifier and TypeMethodDescriptionabstract TimedAttemptSettings.Builder
TimedAttemptSettings.Builder.setGlobalSettings
(RetrySettings value) Sets global (attempt-independent) retry settings.ModifierConstructorDescriptionExponentialPollAlgorithm
(RetrySettings globalSettings, ApiClock clock) Creates a new exponential poll algorithm instance.ExponentialRetryAlgorithm
(RetrySettings globalSettings, ApiClock clock) Creates a new exponential retry algorithm instance. -
Uses of RetrySettings in com.google.api.gax.rpc
Modifier and TypeMethodDescriptionServerStreamingCallSettings.Builder.getRetrySettings()
ServerStreamingCallSettings.getRetrySettings()
See the class documentation ofServerStreamingCallSettings
for a description of what retrySettings do.UnaryCallSettings.Builder.getRetrySettings()
Returns an immutableRetrySettings
currently set in this Builder.final RetrySettings
UnaryCallSettings.getRetrySettings()
See the class documentation ofUnaryCallSettings
for a description of what retry settings do.Modifier and TypeMethodDescriptionBatchingCallSettings.Builder.setRetrySettings
(RetrySettings retrySettings) PagedCallSettings.Builder.setRetrySettings
(RetrySettings retrySettings) ServerStreamingCallSettings.Builder.setRetrySettings
(RetrySettings retrySettings) Replaces theRetrySettings
for the associatedServerStreamingCallable
.UnaryCallSettings.Builder.setRetrySettings
(RetrySettings retrySettings) Replaces theRetrySettings
for the associatedUnaryCallable
.ApiCallContext.withRetrySettings
(RetrySettings retrySettings) Returns a new ApiCallContext with the givenRetrySettings
set.