hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Cowan <co...@aconex.com>
Subject Re: Review Request: HBASE-2578
Date Wed, 26 May 2010 08:54:28 GMT
On 26/05/2010 4:26 PM, Ryan Rawson wrote:
> Sounds like we want #1: replaceable singleton.
> does that sound right?

Yep. :)

Hence volatile should be all you need in this case. It gets complicated 
if there's additional thread-safe logic needed in the getter or setter, 
but in this case that doesn't apply and volatile should give you all you 



View raw message