Uses of Class
com.google.api.gax.retrying.RetrySettings.Builder
Packages that use RetrySettings.Builder
-
Uses of RetrySettings.Builder in com.google.api.gax.retrying
Methods in com.google.api.gax.retrying that return RetrySettings.BuilderModifier and TypeMethodDescriptionRetrySettings.Builder.merge(RetrySettings.Builder newSettings) static RetrySettings.BuilderRetrySettings.newBuilder()abstract RetrySettings.BuilderRetrySettings.Builder.setInitialRetryDelay(org.threeten.bp.Duration initialDelay) InitialRetryDelay controls the delay before the first retry.abstract RetrySettings.BuilderRetrySettings.Builder.setInitialRpcTimeout(org.threeten.bp.Duration initialTimeout) InitialRpcTimeout controls the timeout for the initial RPC.abstract RetrySettings.BuilderRetrySettings.Builder.setJittered(boolean jittered) Deprecated.Retries always jitter.RetrySettings.Builder.setLogicalTimeout(org.threeten.bp.Duration timeout) Configures the timeout settings with the given timeout such that the logical call will take no longer than the given timeout and each RPC attempt will use only the time remaining in the logical call as a timeout.abstract RetrySettings.BuilderRetrySettings.Builder.setMaxAttempts(int maxAttempts) MaxAttempts defines the maximum number of attempts to perform.abstract RetrySettings.BuilderRetrySettings.Builder.setMaxRetryDelay(org.threeten.bp.Duration maxDelay) MaxRetryDelay puts a limit on the value of the retry delay, so that the RetryDelayMultiplier can't increase the retry delay higher than this amount.abstract RetrySettings.BuilderRetrySettings.Builder.setMaxRpcTimeout(org.threeten.bp.Duration maxTimeout) MaxRpcTimeout puts a limit on the value of the RPC timeout, so that the RpcTimeoutMultiplier can't increase the RPC timeout higher than this amount.abstract RetrySettings.BuilderRetrySettings.Builder.setRetryDelayMultiplier(double multiplier) RetryDelayMultiplier controls the change in retry delay.abstract RetrySettings.BuilderRetrySettings.Builder.setRpcTimeoutMultiplier(double multiplier) See the class documentation ofRetrySettingsfor a description of what this value does.abstract RetrySettings.BuilderRetrySettings.Builder.setTotalTimeout(org.threeten.bp.Duration totalTimeout) TotalTimeout has ultimate control over how long the logic should keep trying the remote call until it gives up completely.abstract RetrySettings.BuilderRetrySettings.toBuilder()Methods in com.google.api.gax.retrying with parameters of type RetrySettings.Builder -
Uses of RetrySettings.Builder in com.google.api.gax.rpc
Methods in com.google.api.gax.rpc that return RetrySettings.BuilderModifier and TypeMethodDescriptionServerStreamingCallSettings.Builder.retrySettings()Returns the underlyingRetrySettings.Builder, which allows callers to augment the existingRetrySettings.UnaryCallSettings.Builder.retrySettings()Returns the underlyingRetrySettings.Builder, which allows callers to augment the existingRetrySettings.