Package org.jgroups.blocks
Class DistributedLockManager.AcquireLockDecree
java.lang.Object
org.jgroups.blocks.DistributedLockManager.LockDecree
org.jgroups.blocks.DistributedLockManager.AcquireLockDecree
- All Implemented Interfaces:
Serializable
- Enclosing class:
DistributedLockManager
public static class DistributedLockManager.AcquireLockDecree
extends DistributedLockManager.LockDecree
This class represents the lock to be released.
- See Also:
-
Field Summary
Fields inherited from class org.jgroups.blocks.DistributedLockManager.LockDecree
commited, lockId, managerId, requester
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid()
Lock aquire decree is valid for aACQUIRE_EXPIRATION
time after creation and if the lock is still valid (in the future locks will be leased for a predefined period of time).Methods inherited from class org.jgroups.blocks.DistributedLockManager.LockDecree
commit, equals, getKey, hashCode, isMultipleLocked, setMultipleLocked
-
Method Details
-
isValid
public boolean isValid()Lock aquire decree is valid for aACQUIRE_EXPIRATION
time after creation and if the lock is still valid (in the future locks will be leased for a predefined period of time).- Overrides:
isValid
in classDistributedLockManager.LockDecree
-