org.jgroups.blocks
Class DistributedLockManager.LockDecree
java.lang.Object
org.jgroups.blocks.DistributedLockManager.LockDecree
- DistributedLockManager
- Serializable
public static class DistributedLockManager.LockDecree
extends java.lang.Object
implements Serializable
This class represents the lock
commited
protected boolean commited
lockId
protected final Object lockId
managerId
protected final Object managerId
requester
protected final Object requester
commit
public void commit()
equals
public boolean equals(Object other)
getKey
public Object getKey()
Returns the key that should be used for Map lookup.
hashCode
public int hashCode()
This is hashcode from the java.lang.Long class.
isMultipleLocked
public boolean isMultipleLocked()
- Returns the multipleLocked.
isValid
public boolean isValid()
This is a place-holder for future lock expiration code.
setMultipleLocked
public void setMultipleLocked(boolean multipleLocked)
multipleLocked
- The multipleLocked to set.
Copyright B) 1998-2005 Bela Ban. All Rights Reserved.