摘要:
每一个Watcher具有如下属性: 1.KeeperState 2.EventType 3.path 4.process(WatchedEvent evnet)回掉方法 Watcher干嘛的?用户监听session的状态,数据节点的状态等。 watcher种类:defaultWatcher,非def 阅读全文
阅读排行榜
- 1. 颠覆你对方法调用的看法!(6064)
- 2. ZooKeeper个人笔记Session管理(5682)
- 3. Spark RDD 多文件输入(5617)
- 4. matlab 求解线性方程组之LU分解(5392)
- 5. Curator leader 选举(一)(5049)
- 6. ZooKeeper个人笔记之节点的监听(5022)
- 7. Spark 自定义累加变量(Accmulator)AccumulatorParam(4724)
- 8. Curator Cache(4119)
- 9. ZooKeeper个人笔记客户端watcher和AsycCallback回调(3908)
- 10. 神奇的莫比乌斯带(mobius)(3811)