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
+
|