Class ConsulClusterConfiguration
java.lang.Object
org.apache.camel.component.consul.ConsulClientConfiguration
org.apache.camel.component.consul.cluster.ConsulClusterConfiguration
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()intintintvoidsetRootPath(String rootPath) voidsetSessionLockDelay(int sessionLockDelay) voidsetSessionRefreshInterval(int sessionRefreshInterval) voidsetSessionTtl(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:
copyin classConsulClientConfiguration
-