Class ConsulClusterConfiguration
java.lang.Object
org.apache.camel.component.consul.ConsulClientConfiguration
org.apache.camel.component.consul.cluster.ConsulClusterConfiguration
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
int
int
int
void
setRootPath
(String rootPath) void
setSessionLockDelay
(int sessionLockDelay) void
setSessionRefreshInterval
(int sessionRefreshInterval) void
setSessionTtl
(int sessionTtl) Methods inherited from class org.apache.camel.component.consul.ConsulClientConfiguration
createConsulClient, createConsulClient, getAclToken, getBlockSeconds, getConnectTimeout, getConsistencyMode, getDatacenter, getDc, getFirstIndex, getNearNode, getNodeMeta, getPassword, getReadTimeout, getSslContextParameters, getTags, getUrl, getUserName, getWriteTimeout, isPingInstance, isRecursive, requiresBasicAuthentication, setAclToken, setBlockSeconds, setConnectTimeout, setConsistencyMode, setDatacenter, setDc, setFirstIndex, setNearNode, setNodeMeta, setPassword, setPingInstance, setReadTimeout, setRecursive, setSslContextParameters, setTags, setTags, setUrl, setUserName, setWriteTimeout
-
Constructor Details
-
ConsulClusterConfiguration
public ConsulClusterConfiguration()
-
-
Method Details
-
getSessionTtl
public int getSessionTtl() -
setSessionTtl
public void setSessionTtl(int sessionTtl) -
getSessionLockDelay
public int getSessionLockDelay() -
setSessionLockDelay
public void setSessionLockDelay(int sessionLockDelay) -
getRootPath
-
setRootPath
-
getSessionRefreshInterval
public int getSessionRefreshInterval() -
setSessionRefreshInterval
public void setSessionRefreshInterval(int sessionRefreshInterval) -
copy
- Overrides:
copy
in classConsulClientConfiguration
-