hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Reed <br...@yahoo-inc.com>
Subject Re: Do implementations of Watcher need to be thread-safe?
Date Wed, 21 Jul 2010 18:23:36 GMT
as long as a watcher object is only used with a single ZooKeeper object 
it will be called by the same thread.

ben

On 07/21/2010 11:12 AM, Joshua Ball wrote:
> Hi,
>
> Do implementations of Watcher need to be thread-safe, or can I assume
> that process(...) will always be called by the same thread?
>
> Thanks,
> Josh "Ua" Ball
>    


Mime
View raw message