|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object | +--org.javagroups.blocks.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. |
int |
hashCode()
This is hashcode from the java.lang.Long class. |
boolean |
isValid()
This is a place-holder for future lock expiration code. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.Object lockId
protected java.lang.Object requester
protected java.lang.Object managerId
protected boolean commited
| Method Detail |
public java.lang.Object getKey()
public boolean isValid()
public void commit()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Object
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||