Uses of Class
com.google.api.gax.retrying.RetrySettings
-
Packages that use RetrySettings Package Description com.google.api.gax.batching com.google.api.gax.longrunning com.google.api.gax.retrying com.google.api.gax.rpc -
-
Uses of RetrySettings in com.google.api.gax.batching
Methods in com.google.api.gax.batching with parameters of type RetrySettings Modifier and Type Method Description BatchingCallSettings.Builder<ElementT,ElementResultT,RequestT,ResponseT>BatchingCallSettings.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 RetrySettings Modifier and Type Method Description static 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 RetrySettings Modifier and Type Method Description RetrySettingsRetrySettings.Builder. build()abstract RetrySettingsTimedAttemptSettings. getGlobalSettings()Returns global (attempt-independent) retry settings.RetrySettingsRetryingContext. getRetrySettings()Returns theRetrySettingsto use with this context, ornullif the defaultRetrySettingsshould be used.Methods in com.google.api.gax.retrying with parameters of type RetrySettings Modifier and Type Method Description abstract TimedAttemptSettings.BuilderTimedAttemptSettings.Builder. setGlobalSettings(RetrySettings value)Sets global (attempt-independent) retry settings.Constructors in com.google.api.gax.retrying with parameters of type RetrySettings Constructor Description ExponentialPollAlgorithm(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 RetrySettings Modifier and Type Method Description RetrySettingsServerStreamingCallSettings.Builder. getRetrySettings()RetrySettingsServerStreamingCallSettings. getRetrySettings()See the class documentation ofServerStreamingCallSettingsfor a description of what retrySettings do.RetrySettingsUnaryCallSettings.Builder. getRetrySettings()Returns an immutableRetrySettingscurrently set in this Builder.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 RetrySettings Modifier and Type Method Description BatchingCallSettings.Builder<RequestT,ResponseT>BatchingCallSettings.Builder. setRetrySettings(RetrySettings retrySettings)PagedCallSettings.Builder<RequestT,ResponseT,PagedListResponseT>PagedCallSettings.Builder. setRetrySettings(RetrySettings retrySettings)ServerStreamingCallSettings.Builder<RequestT,ResponseT>ServerStreamingCallSettings.Builder. setRetrySettings(RetrySettings retrySettings)Replaces theRetrySettingsfor the associatedServerStreamingCallable.UnaryCallSettings.Builder<RequestT,ResponseT>UnaryCallSettings.Builder. setRetrySettings(RetrySettings retrySettings)Replaces theRetrySettingsfor the associatedUnaryCallable.ApiCallContextApiCallContext. withRetrySettings(RetrySettings retrySettings)Returns a new ApiCallContext with the givenRetrySettingsset.
-