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.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRetry()
boolean
void
setBlockUntilConnectedWait
(Duration blockUntilConnectedWait) void
setConnectionTimeout
(Duration connectionTimeout) void
setConnectString
(String connectString) void
setEnabled
(boolean enabled) void
void
setSessionTimeout
(Duration sessionTimeout)
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
CosIdZookeeperProperties
public CosIdZookeeperProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getConnectString
-
setConnectString
-
getRetry
-
setRetry
-
getBlockUntilConnectedWait
-
setBlockUntilConnectedWait
-
getSessionTimeout
-
setSessionTimeout
-
getConnectionTimeout
-
setConnectionTimeout
-