zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iamct <qdd...@gmail.com>
Subject Re: when the zookeeper Expired ,may I have to rebuild the watch on a znode?
Date Wed, 06 Jun 2012 02:56:24 GMT
Thank you! 
but i thank it/s not my answer。
 My questiong is:using java api,I set a watch 
( methed:getData(final String path, Watcher watcher, Stat stat) )

I know  the watch can be triggered when NodeDataChanged and NodeDeleted (the
api tell me only the two EventType )。

but I found the watch was triggered by EventType.NOne when i try testing to
expired a session。

(https://cwiki.apache.org/confluence/display/ZOOKEEPER/FAQ 
Is there an easy way to expire a session for testing?)

--
View this message in context: http://zookeeper-user.578899.n2.nabble.com/when-the-zookeeper-Expired-may-I-have-to-rebuild-the-watch-on-a-znode-tp7577513p7577535.html
Sent from the zookeeper-user mailing list archive at Nabble.com.

Mime
View raw message