• New Feature
  • Status: Closed
  • 3 Minor
  • Resolution: Fixed
  • hsingh
  • Reporter: steve
  • October 21, 2009
  • 0
  • Watchers: 1
  • February 12, 2013
  • June 07, 2010


For people who just want a simple distributed lock manager this would be quite handy.


Himadri Singh 2010-07-01

ClusteredLock createLock(Object monitor, LockType type) throws IllegalArgumentException, NullPointerException

Create a clustered lock around the supplied clustered monitor object.

The supplied lock type controls the lock hold acquired by the default Lock inherited methods.

If the supplied monitor object is null then NullPointerException is thrown. If it is not clustered then IllegalArgumentException is thrown.

    monitor - clustered object
    type - default lock hold type 
    a clustered lock