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.
Version:
$Id: DistributedLockManager.java,v 1.9.4.2 2008/05/22 09:51:25 belaban Exp $
Author:
Roman Rokytskyy (rrokytskyy@acm.org), Robert Schaffar-Taurok (robert@fusion.at)
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