public class ThreadSnapshot
extends java.lang.Object
Constructor and Description |
---|
ThreadSnapshot(java.lang.management.ThreadInfo threadInfo) |
Modifier and Type | Method and Description |
---|---|
char |
getCode() |
TcpConnectionInfo |
getConnectionInfo() |
long |
getId() |
java.lang.String |
getPort() |
java.lang.StackTraceElement[] |
getStackElements() |
java.lang.Thread.State |
getState() |
java.lang.management.ThreadInfo |
getThreadInfo() |
void |
setCode(char code) |
void |
setConnectionInfo(TcpConnectionInfo connectionInfo) |
public char getCode()
public void setCode(char code)
public java.lang.management.ThreadInfo getThreadInfo()
public void setConnectionInfo(TcpConnectionInfo connectionInfo)
public TcpConnectionInfo getConnectionInfo()
public long getId()
public java.lang.Thread.State getState()
public java.lang.StackTraceElement[] getStackElements()
public java.lang.String getPort()