public final class CpsThreadDump extends Object
CpsThreadGroup
.Modifier and Type | Class and Description |
---|---|
static class |
CpsThreadDump.ThreadInfo |
Modifier and Type | Field and Description |
---|---|
static CpsThreadDump |
EMPTY
Constant that indicates everything is done and no thread is alive.
|
static CpsThreadDump |
UNKNOWN
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CpsThreadDump |
from(CpsThreadGroup g) |
static CpsThreadDump |
from(Throwable t) |
static CpsThreadDump |
fromText(String text)
A mock thread dump that merely displays some fixed text.
|
List<CpsThreadDump.ThreadInfo> |
getThreads() |
void |
print(PrintStream ps) |
void |
print(PrintWriter w) |
String |
toString() |
public static final CpsThreadDump EMPTY
@Deprecated public static final CpsThreadDump UNKNOWN
public List<CpsThreadDump.ThreadInfo> getThreads()
public void print(PrintStream ps)
public void print(PrintWriter w)
public static CpsThreadDump from(Throwable t)
public static CpsThreadDump from(CpsThreadGroup g)
@Nonnull public static CpsThreadDump fromText(@Nonnull String text)
text
- possibly multiline stringCopyright © 2016–2020. All rights reserved.