hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Update of "DistributedLockServer" by JimKellerman
Date Mon, 05 Feb 2007 23:13:53 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by JimKellerman:
http://wiki.apache.org/lucene-hadoop/DistributedLockServer

------------------------------------------------------------------------------
  }
  }}}
  
+ == Comments ==
+ 
  ''It's worth considering using enums and [http://java.sun.com/j2se/1.5.0/docs/api/java/util/EnumSet.html
EnumSet]s as they provide a nicer alternative to bit flags in Java 5. --TomWhite''
  
+  - Good point! There is a lot to Java and it does change substantially from release to release.
I missed the addition of !EnumSet. The only down side I see is that you can't use it in a
switch statement. We will probably change this in the next revision of the API, although I
am hoping that someone else will take up this project so that it is external to Hbase. Thanks!
-- JimKellerman
+ 

Mime
View raw message