类 ClusterZookeeperNodeHandler
java.lang.Object
cn.aradin.cluster.zookeeper.starter.handler.ClusterZookeeperNodeHandler
- 所有已实现的接口:
INodeHandler,org.apache.curator.framework.state.ConnectionStateListener
-
构造器概要
构造器构造器说明ClusterZookeeperNodeHandler(ClusterZookeeperProperties clusterZookeeperProperties, ClusterProperties clusterProperties, ZookeeperProperties zookeeperProperties, IClusterNodeManager clusterNodeManager) -
方法概要
修饰符和类型方法说明voidhandler(org.apache.curator.framework.CuratorFramework client, org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent event) voidinit(ZookeeperClientManager clientManager) voidstateChanged(org.apache.curator.framework.CuratorFramework client, org.apache.curator.framework.state.ConnectionState newState) booleansupport(org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent event) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.apache.curator.framework.state.ConnectionStateListener
doNotProxy
-
构造器详细资料
-
ClusterZookeeperNodeHandler
public ClusterZookeeperNodeHandler(ClusterZookeeperProperties clusterZookeeperProperties, ClusterProperties clusterProperties, ZookeeperProperties zookeeperProperties, IClusterNodeManager clusterNodeManager)
-
-
方法详细资料
-
init
- 指定者:
init在接口中INodeHandler
-
support
public boolean support(org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent event) - 指定者:
support在接口中INodeHandler
-
handler
public void handler(org.apache.curator.framework.CuratorFramework client, org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent event) - 指定者:
handler在接口中INodeHandler
-
stateChanged
public void stateChanged(org.apache.curator.framework.CuratorFramework client, org.apache.curator.framework.state.ConnectionState newState) - 指定者:
stateChanged在接口中org.apache.curator.framework.state.ConnectionStateListener
-