@Immutable public class ThreadDeadlockInfo extends Object
| Constructor and Description |
|---|
ThreadDeadlockInfo(ThreadInfo aThreadInfo,
Thread aThread,
StackTraceElement[] aStackTrace) |
| Modifier and Type | Method and Description |
|---|---|
StackTraceElement[] |
getAllStackTraceElements() |
Thread |
getThread() |
ThreadInfo |
getThreadInfo() |
boolean |
hasStackTrace() |
String |
toString() |
public ThreadDeadlockInfo(@Nonnull ThreadInfo aThreadInfo, @Nonnull Thread aThread, @Nullable StackTraceElement[] aStackTrace)
@Nonnull public ThreadInfo getThreadInfo()
ThreadInfo as returned from JMX beanpublic boolean hasStackTrace()
true if a stack trace is present, false
otherwise@Nullable @ReturnsMutableCopy public StackTraceElement[] getAllStackTraceElements()
null for certain system threads. Use
getThread ().getStackTrace () to retrieve the current
stack trace.Copyright © 2014–2020 Philip Helger. All rights reserved.