Class PubSubConfiguration.Retry

java.lang.Object
com.google.cloud.spring.pubsub.core.PubSubConfiguration.Retry
Enclosing class:
PubSubConfiguration

public static class PubSubConfiguration.Retry extends Object
Retry settings.
  • Constructor Details

    • Retry

      public Retry()
  • Method Details

    • getTotalTimeoutSeconds

      public Long getTotalTimeoutSeconds()
    • setTotalTimeoutSeconds

      public void setTotalTimeoutSeconds(Long totalTimeoutSeconds)
    • getInitialRetryDelaySeconds

      public Long getInitialRetryDelaySeconds()
    • setInitialRetryDelaySeconds

      public void setInitialRetryDelaySeconds(Long initialRetryDelaySeconds)
    • getRetryDelayMultiplier

      public Double getRetryDelayMultiplier()
    • setRetryDelayMultiplier

      public void setRetryDelayMultiplier(Double retryDelayMultiplier)
    • getMaxRetryDelaySeconds

      public Long getMaxRetryDelaySeconds()
    • setMaxRetryDelaySeconds

      public void setMaxRetryDelaySeconds(Long maxRetryDelaySeconds)
    • getMaxAttempts

      public Integer getMaxAttempts()
    • setMaxAttempts

      public void setMaxAttempts(Integer maxAttempts)
    • getJittered

      public Boolean getJittered()
    • setJittered

      public void setJittered(Boolean jittered)
    • getInitialRpcTimeoutSeconds

      public Long getInitialRpcTimeoutSeconds()
    • setInitialRpcTimeoutSeconds

      public void setInitialRpcTimeoutSeconds(Long initialRpcTimeoutSeconds)
    • getRpcTimeoutMultiplier

      public Double getRpcTimeoutMultiplier()
    • setRpcTimeoutMultiplier

      public void setRpcTimeoutMultiplier(Double rpcTimeoutMultiplier)
    • getMaxRpcTimeoutSeconds

      public Long getMaxRpcTimeoutSeconds()
      get the max RPC timeout seconds.
      Returns:
      the number of seconds of the RPC timeout
    • setMaxRpcTimeoutSeconds

      public void setMaxRpcTimeoutSeconds(Long maxRpcTimeoutSeconds)