public class ZookeeperGroupListenerSupport extends ZookeeperGroupSupport implements GroupListener
GroupListener.GroupEvent| Constructor and Description |
|---|
ZookeeperGroupListenerSupport(String clusterPath,
org.apache.camel.Endpoint endpoint,
Runnable onLockAcquired,
Runnable onDisconnected) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
String |
getClusterPath() |
Group<CamelNodeState> |
getGroup() |
void |
groupEvent(Group group,
GroupListener.GroupEvent event) |
protected void |
onDisconnected() |
protected void |
onLockOwned() |
void |
updateState(CamelNodeState state) |
call, createGroup, getCamelContext, getCurator, getMaximumConnectionTimeout, getZooKeeperPassword, getZooKeeperUrl, registerAsListener, setCamelContext, setCurator, setMaximumConnectionTimeout, setZooKeeperPassword, setZooKeeperUrl, stateChangedbuild, 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, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNotProxypublic void updateState(CamelNodeState state)
protected void doStart()
throws Exception
doStart in class ZookeeperGroupSupportExceptionprotected void doStop()
throws Exception
doStop in class ZookeeperGroupSupportExceptionpublic String getClusterPath()
public Group<CamelNodeState> getGroup()
public void groupEvent(Group group, GroupListener.GroupEvent event)
groupEvent in interface GroupListenerprotected void onDisconnected()
protected void onLockOwned()
Apache Camel