Uses of Class
com.google.api.gax.retrying.RetrySettings
Packages that use RetrySettings
Package
Description
-
Uses of RetrySettings in com.google.api.gax.batching
Methods in com.google.api.gax.batching with parameters of type RetrySettingsModifier and TypeMethodDescriptionBatchingCallSettings.Builder.setRetrySettings(RetrySettings retrySettings) Sets theRetrySettingsvalues for each retry attempts. -
Uses of RetrySettings in com.google.api.gax.longrunning
Methods in com.google.api.gax.longrunning with parameters of type RetrySettingsModifier and TypeMethodDescriptionstatic OperationTimedPollAlgorithmOperationTimedPollAlgorithm.create(RetrySettings globalSettings) Creates the polling algorithm, using the defaultNanoClockfor time computations.static OperationTimedPollAlgorithmOperationTimedPollAlgorithm.create(RetrySettings globalSettings, ApiClock clock) -
Uses of RetrySettings in com.google.api.gax.retrying
Methods in com.google.api.gax.retrying that return RetrySettingsModifier and TypeMethodDescriptionRetrySettings.Builder.build()abstract RetrySettingsTimedAttemptSettings.getGlobalSettings()Returns global (attempt-independent) retry settings.RetryingContext.getRetrySettings()Returns theRetrySettingsto use with this context, ornullif the defaultRetrySettingsshould be used.Methods in com.google.api.gax.retrying with parameters of type RetrySettingsModifier and TypeMethodDescriptionabstract TimedAttemptSettings.BuilderTimedAttemptSettings.Builder.setGlobalSettings(RetrySettings value) Sets global (attempt-independent) retry settings.Constructors in com.google.api.gax.retrying with parameters of type RetrySettingsModifierConstructorDescriptionExponentialPollAlgorithm(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
Methods in com.google.api.gax.rpc that return RetrySettingsModifier and TypeMethodDescriptionServerStreamingCallSettings.Builder.getRetrySettings()ServerStreamingCallSettings.getRetrySettings()See the class documentation ofServerStreamingCallSettingsfor a description of what retrySettings do.UnaryCallSettings.Builder.getRetrySettings()Returns an immutableRetrySettingscurrently set in this Builder.final RetrySettingsUnaryCallSettings.getRetrySettings()See the class documentation ofUnaryCallSettingsfor a description of what retry settings do.Methods in com.google.api.gax.rpc with parameters of type RetrySettingsModifier and TypeMethodDescriptionBatchingCallSettings.Builder.setRetrySettings(RetrySettings retrySettings) PagedCallSettings.Builder.setRetrySettings(RetrySettings retrySettings) ServerStreamingCallSettings.Builder.setRetrySettings(RetrySettings retrySettings) Replaces theRetrySettingsfor the associatedServerStreamingCallable.UnaryCallSettings.Builder.setRetrySettings(RetrySettings retrySettings) Replaces theRetrySettingsfor the associatedUnaryCallable.ApiCallContext.withRetrySettings(RetrySettings retrySettings) Returns a new ApiCallContext with the givenRetrySettingsset.