public class LockInfo
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected Locker |
locker |
protected LockType |
lockType |
| Constructor and Description |
|---|
LockInfo(Locker locker,
LockType lockType)
Construct a new LockInfo.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
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.ObjectCopyright (c) 2004,2008 Oracle. All rights reserved.