|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.txn.LockInfo
public class LockInfo
LockInfo is a class that embodies information about a lock instance. The holding thread and the locktype are all contained in the object. This class is public for unit tests.
Field Summary | |
---|---|
protected Locker |
locker
|
protected LockType |
lockType
|
Constructor Summary | |
---|---|
LockInfo(Locker locker,
LockType lockType)
Construct a new LockInfo. |
Method Summary | |
---|---|
Object |
clone()
|
void |
dump()
Debugging |
static boolean |
getDeadlockStackTrace()
For unit testing only. |
(package private) Locker |
getLocker()
|
(package private) LockType |
getLockType()
|
(package private) static void |
setDeadlockStackTrace(boolean enable)
Called when the je.txn.deadlockStackTrace property is changed. |
(package private) void |
setLocker(Locker locker)
Change this lockInfo over to the prescribed locker. |
(package private) void |
setLockType(LockType lockType)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Locker locker
protected LockType lockType
Constructor Detail |
---|
public LockInfo(Locker locker, LockType lockType)
Method Detail |
---|
static void setDeadlockStackTrace(boolean enable)
public static boolean getDeadlockStackTrace()
void setLocker(Locker locker)
Locker getLocker()
void setLockType(LockType lockType)
LockType getLockType()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public void dump()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |