Class DefaultManagedGroupFactory
java.lang.Object
org.apache.camel.component.zookeepermaster.group.DefaultManagedGroupFactory
- All Implemented Interfaces:
GroupFactory
,ManagedGroupFactory
-
Constructor Summary
ConstructorDescriptionDefaultManagedGroupFactory
(org.apache.curator.framework.CuratorFramework curator, boolean shouldClose) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
createGroup
(String path, Class<T> clazz) createGroup
(String path, Class<T> clazz, ThreadFactory threadFactory) createMultiGroup
(String path, Class<T> clazz) createMultiGroup
(String path, Class<T> clazz, ThreadFactory threadFactory) org.apache.curator.framework.CuratorFramework
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.component.zookeepermaster.group.ManagedGroupFactory
setClassLoader
-
Constructor Details
-
DefaultManagedGroupFactory
public DefaultManagedGroupFactory(org.apache.curator.framework.CuratorFramework curator, boolean shouldClose)
-
-
Method Details
-
getCurator
public org.apache.curator.framework.CuratorFramework getCurator()- Specified by:
getCurator
in interfaceManagedGroupFactory
-
createGroup
- Specified by:
createGroup
in interfaceGroupFactory
-
createGroup
public <T extends NodeState> Group<T> createGroup(String path, Class<T> clazz, ThreadFactory threadFactory) - Specified by:
createGroup
in interfaceGroupFactory
-
createMultiGroup
- Specified by:
createMultiGroup
in interfaceGroupFactory
-
createMultiGroup
public <T extends NodeState> Group<T> createMultiGroup(String path, Class<T> clazz, ThreadFactory threadFactory) - Specified by:
createMultiGroup
in interfaceGroupFactory
-
close
public void close()- Specified by:
close
in interfaceManagedGroupFactory
-