zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jor...@jordanzimmerman.com>
Subject Re: listerner for data change
Date Wed, 10 Dec 2014 14:36:00 GMT
FYI - Curator has its own mailing list at user@curator.apache.org

PathChildrenCache will watch for data changes if you pass true for “cacheData” in the


On December 10, 2014 at 1:58:51 AM, Lu, Boying (boying.lu@emc.com) wrote:

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?  



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