public class DelegateZooKeeperMultiGroup<T extends NodeState> extends DelegateZooKeeperGroup<T> implements MultiGroup<T>
group| 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, closeQuietly, doStart, doStop, 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>Copyright © 2011–2015 Red Hat. All rights reserved.