|
|||||||||
| 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.
| Constructor Summary | |
|---|---|
LockInfo(Locker locker,
LockType lockType)
Construct a new LockInfo. |
|
| Method Summary | |
|---|---|
java.lang.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)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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 java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic void dump()
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 | ||||||||