org.jgroups.blocks

Class DistributedLockManager.LockDecree

Enclosing Class:
DistributedLockManager
Implemented Interfaces:
Serializable
Known Direct Subclasses:
DistributedLockManager.AcquireLockDecree, DistributedLockManager.ReleaseLockDecree

public static class DistributedLockManager.LockDecree
extends java.lang.Object
implements Serializable

This class represents the lock

Field Summary

protected boolean
commited
protected Object
lockId
protected Object
managerId
protected Object
requester

Method Summary

void
commit()
boolean
equals(Object other)
Object
getKey()
Returns the key that should be used for Map lookup.
int
hashCode()
This is hashcode from the java.lang.Long class.
boolean
isValid()
This is a place-holder for future lock expiration code.

Field Details

commited

protected boolean commited


lockId

protected Object lockId


managerId

protected Object managerId


requester

protected Object requester

Method Details

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.


isValid

public boolean isValid()
This is a place-holder for future lock expiration code.


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