org.jgroups.blocks

Class DistributedLockManager.AcquireLockDecree

Enclosing Class:
DistributedLockManager
Implemented Interfaces:
Serializable

public static class DistributedLockManager.AcquireLockDecree
extends DistributedLockManager.LockDecree

This class represents the lock to be released.

Field Summary

Fields inherited from class org.jgroups.blocks.DistributedLockManager.LockDecree

commited, lockId, managerId, requester

Method Summary

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).

Methods inherited from class org.jgroups.blocks.DistributedLockManager.LockDecree

commit, equals, getKey, hashCode, isValid

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 interface DistributedLockManager.LockDecree

Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.