Class ConsulClusterConfiguration
- java.lang.Object
-
- org.apache.camel.component.consul.ConsulClientConfiguration
-
- org.apache.camel.component.consul.cluster.ConsulClusterConfiguration
-
- All Implemented Interfaces:
Cloneable
public class ConsulClusterConfiguration extends ConsulClientConfiguration
-
-
Constructor Summary
Constructors Constructor Description ConsulClusterConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsulClusterConfigurationcopy()StringgetRootPath()intgetSessionLockDelay()intgetSessionRefreshInterval()intgetSessionTtl()voidsetRootPath(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
-
-
-
-
Method Detail
-
getSessionTtl
public int getSessionTtl()
-
setSessionTtl
public void setSessionTtl(int sessionTtl)
-
getSessionLockDelay
public int getSessionLockDelay()
-
setSessionLockDelay
public void setSessionLockDelay(int sessionLockDelay)
-
getRootPath
public String getRootPath()
-
setRootPath
public void setRootPath(String rootPath)
-
getSessionRefreshInterval
public int getSessionRefreshInterval()
-
setSessionRefreshInterval
public void setSessionRefreshInterval(int sessionRefreshInterval)
-
copy
public ConsulClusterConfiguration copy()
- Overrides:
copyin classConsulClientConfiguration
-
-