Class CosIdZookeeperProperties

java.lang.Object
me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties

@ConfigurationProperties(prefix="cosid.zookeeper") public class CosIdZookeeperProperties extends Object
CosId Zookeeper Properties.
  • Field Details

  • Constructor Details

    • CosIdZookeeperProperties

      public CosIdZookeeperProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getConnectString

      public String getConnectString()
    • setConnectString

      public void setConnectString(String connectString)
    • getRetry

      public CosIdZookeeperProperties.Retry getRetry()
    • setRetry

      public void setRetry(CosIdZookeeperProperties.Retry retry)
    • getBlockUntilConnectedWait

      public Duration getBlockUntilConnectedWait()
    • setBlockUntilConnectedWait

      public void setBlockUntilConnectedWait(Duration blockUntilConnectedWait)
    • getSessionTimeout

      public Duration getSessionTimeout()
    • setSessionTimeout

      public void setSessionTimeout(Duration sessionTimeout)
    • getConnectionTimeout

      public Duration getConnectionTimeout()
    • setConnectionTimeout

      public void setConnectionTimeout(Duration connectionTimeout)