public class ZooKeeperMultiGroup<T extends NodeState> extends ZooKeeperGroup<T> implements MultiGroup<T>
Constructor and Description |
---|
ZooKeeperMultiGroup(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) |
Modifier and Type | Method and Description |
---|---|
boolean |
isMaster(String name)
Check if we are the master.
|
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
public ZooKeeperMultiGroup(org.apache.curator.framework.CuratorFramework client, String path, Class<T> clazz)
public ZooKeeperMultiGroup(org.apache.curator.framework.CuratorFramework client, String path, Class<T> clazz, ExecutorService executorService)
public ZooKeeperMultiGroup(org.apache.curator.framework.CuratorFramework client, String path, Class<T> clazz, ThreadFactory threadFactory)
public boolean isMaster(String name)
MultiGroup
isMaster
in interface MultiGroup<T extends NodeState>
Apache Camel