public static class PubSubConfiguration.Retry extends Object
Constructor and Description |
---|
Retry() |
Modifier and Type | Method and Description |
---|---|
Long |
getInitialRetryDelaySeconds() |
Long |
getInitialRpcTimeoutSeconds() |
Boolean |
getJittered() |
Integer |
getMaxAttempts() |
Long |
getMaxRetryDelaySeconds() |
Long |
getMaxRpcTimeoutSeconds()
get the max RPC timeout seconds.
|
Double |
getRetryDelayMultiplier() |
Double |
getRpcTimeoutMultiplier() |
Long |
getTotalTimeoutSeconds() |
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) |
public Long getTotalTimeoutSeconds()
public void setTotalTimeoutSeconds(Long totalTimeoutSeconds)
public Long getInitialRetryDelaySeconds()
public void setInitialRetryDelaySeconds(Long initialRetryDelaySeconds)
public Double getRetryDelayMultiplier()
public void setRetryDelayMultiplier(Double retryDelayMultiplier)
public Long getMaxRetryDelaySeconds()
public void setMaxRetryDelaySeconds(Long maxRetryDelaySeconds)
public Integer getMaxAttempts()
public void setMaxAttempts(Integer maxAttempts)
public Boolean getJittered()
public void setJittered(Boolean jittered)
public Long getInitialRpcTimeoutSeconds()
public void setInitialRpcTimeoutSeconds(Long initialRpcTimeoutSeconds)
public Double getRpcTimeoutMultiplier()
public void setRpcTimeoutMultiplier(Double rpcTimeoutMultiplier)
public Long getMaxRpcTimeoutSeconds()
public void setMaxRpcTimeoutSeconds(Long maxRpcTimeoutSeconds)
Copyright © 2021. All rights reserved.