Class DelegateZooKeeperMultiGroup<T extends NodeState>
java.lang.Object
org.apache.camel.component.zookeepermaster.group.internal.DelegateZooKeeperGroup<T>
org.apache.camel.component.zookeepermaster.group.internal.DelegateZooKeeperMultiGroup<T>
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Group<T>
,MultiGroup<T>
public class DelegateZooKeeperMultiGroup<T extends NodeState>
extends DelegateZooKeeperGroup<T>
implements MultiGroup<T>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.camel.component.zookeepermaster.group.internal.DelegateZooKeeperGroup
add, close, doStart, doStop, getGroup, getLastState, isConnected, isMaster, master, members, remove, slaves, start, update, useCurator
-
Constructor Details
-
DelegateZooKeeperMultiGroup
-
-
Method Details
-
createGroup
protected Group<T> createGroup(org.apache.curator.framework.CuratorFramework client, String path, Class<T> clazz) - Overrides:
createGroup
in classDelegateZooKeeperGroup<T extends NodeState>
-
isMaster
Description copied from interface:MultiGroup
Check if we are the master.- Specified by:
isMaster
in interfaceMultiGroup<T extends NodeState>
-