public final class IlrExecutionPoint extends java.lang.Object implements java.lang.Comparable<IlrExecutionPoint>
java.util.Date and a IlrThread and its stack trace related to a code
location. Note: this class has a natural ordering that is inconsistent with equals.| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IlrExecutionPoint o)
Note: this class has a natural ordering that is inconsistent with equals and hashCode.
Equivalent to
this.getDate() - o.getDate() |
boolean |
equals(java.lang.Object o) |
long |
getDate()
Gets the time when the contention has been detected.
|
java.lang.String |
getLockDescription()
Returns the
String representation of the monitor lock that the thread is blocked to enter or waiting
to be notified through the Object.wait() method. |
java.util.Iterator<IlrStackElement> |
getStackBlocked()
Gets the stack trace of the thread blocked.
|
java.util.Iterator<IlrStackElement> |
getStackOwner()
Gets the stack trace of the thread owner of the lock if any.
|
IlrThread |
getThreadBlocked()
Gets the thread in the
Thread.State monitored. |
IlrThread |
getThreadOwner()
Gets the thread that ownes the lock if any.
|
int |
hashCode() |
public IlrThread getThreadBlocked()
Thread.State monitored.IlrThread. It is never null.public IlrThread getThreadOwner()
IlrThread. It could be null.public long getDate()
System.nanoTime()public java.lang.String getLockDescription()
String representation of the monitor lock that the thread is blocked to enter or waiting
to be notified through the Object.wait() method. The returned String representation of
a monitor lock consists of the name of the class of which the object is an instance, the at-sign, and the
unsigned hexadecimal representation of the identity hash code of the object. This method returns a string equals
to the value of : lock.getClass().getName() + '@' + Integer.toHexString(System.identityHashCode(lock))
where the lock is the monitor lock object.public java.util.Iterator<IlrStackElement> getStackOwner()
IlrStackElement. Could be null.public java.util.Iterator<IlrStackElement> getStackBlocked()
IlrStackElement. Never null.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(IlrExecutionPoint o)
this.getDate() - o.getDate() compareTo in interface java.lang.Comparable<IlrExecutionPoint>© Copyright IBM Corp. 1987, 2017