public static class DistributedLockManager.LockDecree extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
commited |
protected Object |
lockId |
protected Object |
managerId |
protected Object |
requester |
Modifier and Type | Method and Description |
---|---|
void |
commit() |
boolean |
equals(Object other) |
Object |
getKey()
Returns the key that should be used for Map lookup.
|
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) |
String |
toString() |
protected final Object lockId
protected final Object requester
protected final Object managerId
protected boolean commited
public Object getKey()
public Object getRequester()
public boolean isValid()
public void commit()
public boolean isMultipleLocked()
public void setMultipleLocked(boolean multipleLocked)
multipleLocked
- The multipleLocked to set.public int hashCode()
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.