|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.core.foundation.LockStatus
public final class LockStatus
This class defines the various states of a lock.. ON the lock has been granted TIMEOUT the lock has timed out DEADLOCK the lock has caused a deadlock OFF the lock is unlocked
Field Summary | |
---|---|
static LockStatus |
DEADLOCK
|
static LockStatus |
GRANTED
Instatiate instances related to each of the enumerations |
static LockStatus |
RELEASED
|
static LockStatus |
TIMEOUT
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Return true iff the two specified object are of the same type and their ordinal values are identical. |
int |
getOrd()
Returns the ordinal value for this state |
static int |
size()
Returns the number of states in this enumeration |
java.lang.String |
toString()
Returns the name of this state |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final LockStatus GRANTED
public static final LockStatus TIMEOUT
public static final LockStatus DEADLOCK
public static final LockStatus RELEASED
Method Detail |
---|
public int getOrd()
public java.lang.String toString()
toString
in class java.lang.Object
public static int size()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- object to compare against
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |