Yes. Check the documentation about Watches. Particular the part that says that you can't be sure to have one notification per change.
http://zookeeper.apache.org/doc/r3.1.2/zookeeperProgrammers.html#ch_zkWatches On Sun, Nov 6, 2011 at 6:43 PM, nileader <[email protected]> wrote: > Is there any paper for this? > > ---- > nileader ni掌柜的个人邮件. > Email/MSN:[email protected] > > *这里一封来自ni掌柜个人邮箱的邮件.如果你觉得邮件内容中包含任何关于个人隐私的信息,请勿转发.谢谢.* > > > > 2011/11/6 Ted Dunning <[email protected]> > > > Yes. > > > > On Sat, Nov 5, 2011 at 5:24 AM, nileader <[email protected]> wrote: > > > > > Yeah, Thanks. > > > > > > I know zk server will notify it's znodes watcher. But i mean will > > zookeeper > > > server merge some watcher notifications when client update data of > znode > > * > > > frequently*! > > > > > > ---- > > > nileader ni掌柜的个人邮件. > > > Email/MSN:[email protected] > > > > > > *这里一封来自ni掌柜个人邮箱的邮件.如果你觉得邮件内容中包含任何关于个人隐私的信息,请勿转发.谢谢.* > > > > > > > > > > > > 2011/11/4 Andrei Savu <[email protected]> > > > > > > > Check this page: > > > > > > > > > > > > > > http://zookeeper.apache.org/doc/r3.3.3/zookeeperProgrammers.html#ch_zkWatches > > > > > > > > *One-time trigger* > > > > > > > > One watch event will be sent to the client when the data has changed. > > For > > > > example, if a client does a getData("/znode1", true) and later the > data > > > for > > > > /znode1 is changed or deleted, the client will get a watch event for > > > > /znode1. If /znode1 changes again, no watch event will be sent unless > > the > > > > client has done another read that sets a new watch. > > > > > > > > On Fri, Nov 4, 2011 at 10:43 AM, nileader <[email protected]> > wrote: > > > > > > > > > Will zookeeper server merge some watcher notifications when client > > > update > > > > > data of znode frequent! > > > > > > > > > > > > > > >
