hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <tdunn...@maprtech.com>
Subject Re: Review Request: Allow Observers to completely override base function
Date Wed, 15 Dec 2010 17:39:05 GMT
Indeed, if you look at the implementation of AtomicInteger, it is mostly
just a volatile int.

On Tue, Dec 14, 2010 at 6:36 PM, Ryan Rawson <ryanobjc@gmail.com> wrote:

> src/main/java/org/apache/hadoop/hbase/regionserver/CoprocessorHost.java
> <http://review.cloudera.org/r/1295/#comment6479>
>
>    unless you need CAS semantics, you can just use volatile here.  We are
> over-using the Atomic* stuff sometimes.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message