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:
  • Method Details

    • isValid

      public boolean isValid()
      Lock aquire decree is valid for a ACQUIRE_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 class DistributedLockManager.LockDecree