#CuratorWatcher

zookeeper 监听事件 CuratorWatcher

CuratorWatcher一次注册只监听一次,不监听查询。1.监听测试类packagecom.qy.learn.zk.curator;importorg.apache.curator.framework.CuratorFramework;/***@author七脉*描述:CuratorWatcher事件监听,注册一次...