Class ZooKeeperMultiGroup<T extends NodeState>
java.lang.Object
org.apache.camel.component.zookeepermaster.group.internal.ZooKeeperGroup<T>
org.apache.camel.component.zookeepermaster.group.internal.ZooKeeperMultiGroup<T>
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Group<T>
,MultiGroup<T>
public class ZooKeeperMultiGroup<T extends NodeState>
extends ZooKeeperGroup<T>
implements MultiGroup<T>
-
Constructor Summary
ConstructorDescriptionZooKeeperMultiGroup
(org.apache.curator.framework.CuratorFramework client, String path, Class<T> clazz) ZooKeeperMultiGroup
(org.apache.curator.framework.CuratorFramework client, String path, Class<T> clazz, ExecutorService executorService) ZooKeeperMultiGroup
(org.apache.curator.framework.CuratorFramework client, String path, Class<T> clazz, ThreadFactory threadFactory) -
Method Summary
Methods inherited from class org.apache.camel.component.zookeepermaster.group.internal.ZooKeeperGroup
add, clear, clearAndRefresh, clearAndRefresh, close, doUpdate, getActiveChildren, getCurrentData, getCurrentData, getId, getLastState, getListenable, getSequenceComparator, handleException, isConnected, isMaster, isUnstable, master, members, members, remove, remove, slaves, start, update
-
Constructor Details
-
ZooKeeperMultiGroup
-
ZooKeeperMultiGroup
public ZooKeeperMultiGroup(org.apache.curator.framework.CuratorFramework client, String path, Class<T> clazz, ExecutorService executorService) -
ZooKeeperMultiGroup
public ZooKeeperMultiGroup(org.apache.curator.framework.CuratorFramework client, String path, Class<T> clazz, ThreadFactory threadFactory)
-
-
Method Details
-
isMaster
Description copied from interface:MultiGroup
Check if we are the master.- Specified by:
isMaster
in interfaceMultiGroup<T extends NodeState>
-