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
