Class ZookeeperProperties

java.lang.Object
org.springframework.cloud.zookeeper.ZookeeperProperties

@ConfigurationProperties("spring.cloud.zookeeper") public class ZookeeperProperties extends Object
Properties related to connecting to Zookeeper.
Since:
1.0.0
Author:
Spencer Gibb
  • Field Details

  • Constructor Details

    • ZookeeperProperties

      public ZookeeperProperties()
  • Method Details

    • getConnectString

      public String getConnectString()
    • isEnabled

      public boolean isEnabled()
    • getBaseSleepTimeMs

      public Integer getBaseSleepTimeMs()
    • getMaxRetries

      public Integer getMaxRetries()
    • getMaxSleepMs

      public Integer getMaxSleepMs()
    • getBlockUntilConnectedWait

      public Integer getBlockUntilConnectedWait()
    • getBlockUntilConnectedUnit

      public TimeUnit getBlockUntilConnectedUnit()
    • setConnectString

      public void setConnectString(String connectString)
    • setEnabled

      public void setEnabled(boolean enabled)
    • setBaseSleepTimeMs

      public void setBaseSleepTimeMs(Integer baseSleepTimeMs)
    • setMaxRetries

      public void setMaxRetries(Integer maxRetries)
    • setMaxSleepMs

      public void setMaxSleepMs(Integer maxSleepMs)
    • setBlockUntilConnectedWait

      public void setBlockUntilConnectedWait(Integer blockUntilConnectedWait)
    • setBlockUntilConnectedUnit

      public void setBlockUntilConnectedUnit(TimeUnit blockUntilConnectedUnit)
    • getSessionTimeout

      public Duration getSessionTimeout()
    • setSessionTimeout

      public void setSessionTimeout(Duration sessionTimeout)
    • getConnectionTimeout

      public Duration getConnectionTimeout()
    • setConnectionTimeout

      public void setConnectionTimeout(Duration connectionTimeout)