public class ZooKeeperMultiGroup<T extends NodeState> extends ZooKeeperGroup<T> implements MultiGroup<T>
currentData, MAPPER, sequenceComparator| 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, getCurrentData, getCurrentData, getId, getLastState, getListenable, handleException, isConnected, isMaster, master, members, members, remove, remove, slaves, start, updatepublic 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)
MultiGroupisMaster in interface MultiGroup<T extends NodeState>Copyright © 2011–2015 Red Hat. All rights reserved.