@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class ThreadStackTrace extends java.lang.Object implements java.io.Serializable
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
StackTraceElement
objects.StackTraceMonitorEntry
class for
information about accessing the Directory Server stack trace.Constructor and Description |
---|
ThreadStackTrace(int threadID,
java.lang.String threadName,
java.util.List<java.lang.StackTraceElement> stackTraceElements)
Creates a new thread stack trace with the provided information.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.StackTraceElement> |
getStackTraceElements()
Retrieves the list of stack trace elements for the associated thread.
|
int |
getThreadID()
Retrieves the thread ID for the associated thread.
|
java.lang.String |
getThreadName()
Retrieves the name of the associated thread.
|
public ThreadStackTrace(int threadID, @NotNull java.lang.String threadName, @NotNull java.util.List<java.lang.StackTraceElement> stackTraceElements)
threadID
- The thread ID for the associated thread.threadName
- The name for the associated thread.stackTraceElements
- A list of the stack trace elements for the
associated thread. It may be empty if no stack
trace was available.public int getThreadID()
@NotNull public java.lang.String getThreadName()
@NotNull public java.util.List<java.lang.StackTraceElement> getStackTraceElements()