Class PubSubConfiguration.Retry
java.lang.Object
com.google.cloud.spring.pubsub.core.PubSubConfiguration.Retry
- Enclosing class:
- PubSubConfiguration
Retry settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget the max RPC timeout seconds.void
setInitialRetryDelaySeconds
(Long initialRetryDelaySeconds) void
setInitialRpcTimeoutSeconds
(Long initialRpcTimeoutSeconds) void
setJittered
(Boolean jittered) void
setMaxAttempts
(Integer maxAttempts) void
setMaxRetryDelaySeconds
(Long maxRetryDelaySeconds) void
setMaxRpcTimeoutSeconds
(Long maxRpcTimeoutSeconds) void
setRetryDelayMultiplier
(Double retryDelayMultiplier) void
setRpcTimeoutMultiplier
(Double rpcTimeoutMultiplier) void
setTotalTimeoutSeconds
(Long totalTimeoutSeconds)
-
Constructor Details
-
Retry
public Retry()
-
-
Method Details
-
getTotalTimeoutSeconds
-
setTotalTimeoutSeconds
-
getInitialRetryDelaySeconds
-
setInitialRetryDelaySeconds
-
getRetryDelayMultiplier
-
setRetryDelayMultiplier
-
getMaxRetryDelaySeconds
-
setMaxRetryDelaySeconds
-
getMaxAttempts
-
setMaxAttempts
-
getJittered
-
setJittered
-
getInitialRpcTimeoutSeconds
-
setInitialRpcTimeoutSeconds
-
getRpcTimeoutMultiplier
-
setRpcTimeoutMultiplier
-
getMaxRpcTimeoutSeconds
get the max RPC timeout seconds.- Returns:
- the number of seconds of the RPC timeout
-
setMaxRpcTimeoutSeconds
-