Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # user >> ZooKeeper::getState() thread safe?


+
Kah-Chan Low 2014-01-14, 14:23
Copy link to this message
-
Re: ZooKeeper::getState() thread safe?
On 14 January 2014 06:23, Kah-Chan Low <[EMAIL PROTECTED]> wrote:

> It is said that most zookeeper API functions, including getState() is
> thread safe.
> I looked at the implementation but I fail to see how it can be thread safe.
> Am I missing something?
>

http://www.javamex.com/tutorials/synchronization_volatile.shtml

-rgs
+
Kah-Chan Low 2014-01-14, 19:10
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB