|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jgroups.blocks.DistributedLockManager.LockDecree
public static class DistributedLockManager.LockDecree
This class represents the lock
Field Summary | |
---|---|
protected boolean |
commited
|
protected java.lang.Object |
lockId
|
protected java.lang.Object |
managerId
|
protected java.lang.Object |
requester
|
Method Summary | |
---|---|
void |
commit()
|
boolean |
equals(java.lang.Object other)
|
java.lang.Object |
getKey()
Returns the key that should be used for Map lookup. |
java.lang.Object |
getRequester()
|
int |
hashCode()
This is hashcode from the java.lang.Long class. |
boolean |
isMultipleLocked()
|
boolean |
isValid()
This is a place-holder for future lock expiration code. |
void |
setMultipleLocked(boolean multipleLocked)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final java.lang.Object lockId
protected final java.lang.Object requester
protected final java.lang.Object managerId
protected boolean commited
Method Detail |
---|
public java.lang.Object getKey()
public java.lang.Object getRequester()
public boolean isValid()
public void commit()
public boolean isMultipleLocked()
public void setMultipleLocked(boolean multipleLocked)
multipleLocked
- The multipleLocked to set.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |