public class ZooKeeperClusterService
extends org.apache.camel.support.cluster.AbstractCamelClusterService<org.apache.camel.component.zookeeper.cluster.ZooKeeperClusterView>
Constructor and Description |
---|
ZooKeeperClusterService() |
ZooKeeperClusterService(ZooKeeperCuratorConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.component.zookeeper.cluster.ZooKeeperClusterView |
createView(String namespace) |
protected void |
doStart() |
protected void |
doStop() |
List<org.apache.curator.framework.AuthInfo> |
getAuthInfoList() |
String |
getBasePath() |
ZooKeeperCuratorConfiguration |
getConfiguration() |
long |
getConnectionTimeout() |
TimeUnit |
getConnectionTimeoutUnit() |
org.apache.curator.framework.CuratorFramework |
getCuratorFramework() |
long |
getMaxCloseWait() |
TimeUnit |
getMaxCloseWaitUnit() |
String |
getNamespace() |
List<String> |
getNodes() |
long |
getReconnectBaseSleepTime() |
TimeUnit |
getReconnectBaseSleepTimeUnit() |
int |
getReconnectMaxRetries() |
org.apache.curator.RetryPolicy |
getRetryPolicy() |
long |
getSessionTimeout() |
TimeUnit |
getSessionTimeoutUnit() |
void |
setAuthInfoList(List<org.apache.curator.framework.AuthInfo> authInfoList) |
void |
setBasePath(String basePath) |
void |
setConfiguration(ZooKeeperCuratorConfiguration configuration) |
void |
setConnectionTimeout(long connectionTimeout) |
void |
setConnectionTimeout(long connectionTimeout,
TimeUnit connectionTimeotUnit) |
void |
setConnectionTimeoutUnit(TimeUnit connectionTimeotUnit) |
void |
setCuratorFramework(org.apache.curator.framework.CuratorFramework curatorFramework) |
void |
setMaxCloseWait(long maxCloseWait) |
void |
setMaxCloseWaitUnit(TimeUnit maxCloseWaitUnit) |
void |
setNamespace(String namespace) |
void |
setNodes(List<String> nodes) |
void |
setNodes(String nodes) |
void |
setReconnectBaseSleepTime(long reconnectBaseSleepTime) |
void |
setReconnectBaseSleepTime(long reconnectBaseSleepTime,
TimeUnit reconnectBaseSleepTimeUnit) |
void |
setReconnectBaseSleepTimeUnit(TimeUnit reconnectBaseSleepTimeUnit) |
void |
setReconnectMaxRetries(int reconnectMaxRetries) |
void |
setRetryPolicy(org.apache.curator.RetryPolicy retryPolicy) |
void |
setSessionTimeout(long sessionTimeout) |
void |
setSessionTimeout(long sessionTimeout,
TimeUnit sessionTimeoutUnit) |
void |
setSessionTimeoutUnit(TimeUnit sessionTimeoutUnit) |
getAttributes, getCamelContext, getId, getNamespaces, getOrder, getView, isLeader, releaseView, setAttribute, setAttributes, setCamelContext, setId, setOrder, startView, stopView
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ZooKeeperClusterService()
public ZooKeeperClusterService(ZooKeeperCuratorConfiguration configuration)
public ZooKeeperCuratorConfiguration getConfiguration()
public void setConfiguration(ZooKeeperCuratorConfiguration configuration)
public org.apache.curator.framework.CuratorFramework getCuratorFramework()
public void setCuratorFramework(org.apache.curator.framework.CuratorFramework curatorFramework)
public void setNodes(String nodes)
public String getNamespace()
public void setNamespace(String namespace)
public long getReconnectBaseSleepTime()
public void setReconnectBaseSleepTime(long reconnectBaseSleepTime)
public void setReconnectBaseSleepTime(long reconnectBaseSleepTime, TimeUnit reconnectBaseSleepTimeUnit)
public TimeUnit getReconnectBaseSleepTimeUnit()
public void setReconnectBaseSleepTimeUnit(TimeUnit reconnectBaseSleepTimeUnit)
public int getReconnectMaxRetries()
public void setReconnectMaxRetries(int reconnectMaxRetries)
public long getSessionTimeout()
public void setSessionTimeout(long sessionTimeout)
public void setSessionTimeout(long sessionTimeout, TimeUnit sessionTimeoutUnit)
public TimeUnit getSessionTimeoutUnit()
public void setSessionTimeoutUnit(TimeUnit sessionTimeoutUnit)
public long getConnectionTimeout()
public void setConnectionTimeout(long connectionTimeout)
public void setConnectionTimeout(long connectionTimeout, TimeUnit connectionTimeotUnit)
public TimeUnit getConnectionTimeoutUnit()
public void setConnectionTimeoutUnit(TimeUnit connectionTimeotUnit)
public List<org.apache.curator.framework.AuthInfo> getAuthInfoList()
public void setAuthInfoList(List<org.apache.curator.framework.AuthInfo> authInfoList)
public long getMaxCloseWait()
public void setMaxCloseWait(long maxCloseWait)
public TimeUnit getMaxCloseWaitUnit()
public void setMaxCloseWaitUnit(TimeUnit maxCloseWaitUnit)
public org.apache.curator.RetryPolicy getRetryPolicy()
public void setRetryPolicy(org.apache.curator.RetryPolicy retryPolicy)
public String getBasePath()
public void setBasePath(String basePath)
protected org.apache.camel.component.zookeeper.cluster.ZooKeeperClusterView createView(String namespace) throws Exception
createView
in class org.apache.camel.support.cluster.AbstractCamelClusterService<org.apache.camel.component.zookeeper.cluster.ZooKeeperClusterView>
Exception
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.cluster.AbstractCamelClusterService<org.apache.camel.component.zookeeper.cluster.ZooKeeperClusterView>
Exception
Apache Camel