- getServiceNamed
- create
- lock
Attempts to acquire a lock named name. Returns true as soon as the lock is
acquired. If the lock is
- unlock
Release the lock previously granted for the given name.
- destroy
Destroy a previously created DistributedLockService with the given serviceName.
Any locks currently
- isHeldByCurrentThread
Determine whether the current thread owns the lock on the given object.
- becomeLockGrantor
Specifies that this member should become the grantor for the named locking
service.
- freeResources
Free internal resources associated with the given name. This may reduce this
VM's memory use, but ma
- isLockGrantor
Returns true if this member is the grantor for the named service.
- lockInterruptibly
Attempts to acquire a lock named name. Returns true as soon as the lock is
acquired. If the lock is
- resumeLocking
Allow locking to resume in this DistributedLockService instance.
- suspendLocking
Suspend granting of locks in this service. When locking has been suspended, no
other thread in the d