org.gridkit.jvmtool.stacktrace
Class ThreadCapture
java.lang.Object
org.gridkit.jvmtool.stacktrace.ThreadCapture
- All Implemented Interfaces:
- ThreadSnapshot
public class ThreadCapture
- extends Object
- implements ThreadSnapshot
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
threadId
public long threadId
threadName
public String threadName
timestamp
public long timestamp
elements
public StackTraceElement[] elements
counters
public CounterArray counters
state
public Thread.State state
ThreadCapture
public ThreadCapture()
threadId
public long threadId()
- Specified by:
threadId in interface ThreadSnapshot
threadName
public String threadName()
- Description copied from interface:
ThreadSnapshot
- may be
null
- Specified by:
threadName in interface ThreadSnapshot
timestamp
public long timestamp()
- Specified by:
timestamp in interface ThreadSnapshot
stackTrace
public StackFrameList stackTrace()
- Specified by:
stackTrace in interface ThreadSnapshot
threadState
public Thread.State threadState()
- Description copied from interface:
ThreadSnapshot
- may be
null
- Specified by:
threadState in interface ThreadSnapshot
counters
public CounterCollection counters()
- Specified by:
counters in interface ThreadSnapshot
copyFrom
public void copyFrom(ThreadInfo info)
reset
public void reset()
Copyright © 2019. All Rights Reserved.