public class DelegateZooKeeperMultiGroup<T extends NodeState> extends DelegateZooKeeperGroup<T> implements MultiGroup<T>
| Constructor and Description |
|---|
DelegateZooKeeperMultiGroup(String path,
Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
protected Group<T> |
createGroup(org.apache.curator.framework.CuratorFramework client,
String path,
Class<T> clazz) |
boolean |
isMaster(String id)
Check if we are the master.
|
add, close, doStart, doStop, getGroup, getLastState, isConnected, isMaster, master, members, remove, slaves, start, update, useCuratorprotected Group<T> createGroup(org.apache.curator.framework.CuratorFramework client, String path, Class<T> clazz)
createGroup in class DelegateZooKeeperGroup<T extends NodeState>public boolean isMaster(String id)
MultiGroupisMaster in interface MultiGroup<T extends NodeState>Apache Camel