240 发简信
IP属地:浙江
  • * When a client drops the current connection and re-connects to a server, all the
    * existing watches are considered as being triggered but the undelivered events
    * are lost. To emulate this, the client will generate a special event to tell
    * the event handler a connection has been dropped. This special event has
    * EventType None and KeeperState Disconnected.

    朋友:上面这段annotation是Zookeeper中的,应该可以解释你这篇文章的最后一个疑问

    zk源码阅读11:watch之模型以及client端存储

    1.摘要 前面讲完了ACL,QUOTAS,DataNode等等,最后讲一下WatchManager,讲完了就可以讲DataTree了watchManager涉及watch机制...

  • 120
    maven内部运行原理解析(一)

    maven至今还是Java编程语言构建的事实标准,大部分项目还在使用maven来进行构建,因此了解maven内部运行的原理对定位和分析问题还是很有裨益的。本篇文章主要介绍一些...