Package com.google.cloud.spring.core
Class Retry
java.lang.Object
com.google.cloud.spring.core.Retry
Retry settings configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.threeten.bp.Duration
org.threeten.bp.Duration
org.threeten.bp.Duration
org.threeten.bp.Duration
org.threeten.bp.Duration
void
setInitialRetryDelay
(Duration initialRetryDelay) void
setInitialRpcTimeout
(Duration initialRpcTimeout) void
setMaxAttempts
(Integer maxAttempts) void
setMaxRetryDelay
(Duration maxRetryDelay) void
setMaxRpcTimeout
(Duration maxRpcTimeout) void
setRetryDelayMultiplier
(Double retryDelayMultiplier) void
setRpcTimeoutMultiplier
(Double rpcTimeoutMultiplier) void
setTotalTimeout
(Duration totalTimeout)
-
Constructor Details
-
Retry
public Retry()
-
-
Method Details
-
getTotalTimeout
public org.threeten.bp.Duration getTotalTimeout() -
setTotalTimeout
-
getInitialRetryDelay
public org.threeten.bp.Duration getInitialRetryDelay() -
setInitialRetryDelay
-
getRetryDelayMultiplier
-
setRetryDelayMultiplier
-
getMaxRetryDelay
public org.threeten.bp.Duration getMaxRetryDelay() -
setMaxRetryDelay
-
getMaxAttempts
-
setMaxAttempts
-
getInitialRpcTimeout
public org.threeten.bp.Duration getInitialRpcTimeout() -
setInitialRpcTimeout
-
getRpcTimeoutMultiplier
-
setRpcTimeoutMultiplier
-
getMaxRpcTimeout
public org.threeten.bp.Duration getMaxRpcTimeout() -
setMaxRpcTimeout
-