Class RetryProperties

java.lang.Object
org.springframework.cloud.consul.RetryProperties

@ConfigurationProperties("spring.cloud.consul.retry") public class RetryProperties extends Object
Author:
Spencer Gibb
  • Field Details

  • Constructor Details

    • RetryProperties

      public RetryProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getInitialInterval

      public long getInitialInterval()
    • setInitialInterval

      public void setInitialInterval(long initialInterval)
    • getMultiplier

      public double getMultiplier()
    • setMultiplier

      public void setMultiplier(double multiplier)
    • getMaxInterval

      public long getMaxInterval()
    • setMaxInterval

      public void setMaxInterval(long maxInterval)
    • getMaxAttempts

      public int getMaxAttempts()
    • setMaxAttempts

      public void setMaxAttempts(int maxAttempts)
    • toString

      public String toString()
      Overrides:
      toString in class Object