摘要: Watcher详解、接口 在 ZooKeeper 中, 接口类 Watcher 用于表示一个标注你的事件处理器,其定义了事件通知相关的逻辑,包含 KeeperState 和 EventType 两个枚举类,分别代表了通知状态和事件类型,同时定义了事件的回调方法:process(WatchedEvent event)如果WatcherWatcher 触发条件: 增、删、改 ( 重复修改也... 阅读全文
posted @ 2015-10-07 19:34 rocky_24 阅读(1165) 评论(0) 推荐(1)
希望祖国繁荣,富强! God has given me a gift. Only one. I am the most complete fighter in the world. My whole life, I have trained. I must prove I am worthy of someting. rocky_24