zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lu, Boying" <Boying...@emc.com>
Subject listerner for data change
Date Wed, 10 Dec 2014 06:56:06 GMT
Hi, All,

I'm using ZK curator as the client library and I want to watch for the 'data' changes associated
with some ZK path.
I tried the PathChildrenCache but it seems that it doesn't watch the data change.

I find the 'NodeCache' and 'NodeCacheListerner' that may help.
To void any mistake,  can I use the 'NodeCache' and 'NodeCacheListener' to watch the 'data'
changes of a ZNode
Or is there better way to do that?

Thanks

Boying

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message