org.gridkit.jvmtool.stacktrace
Class ThreadRecord
java.lang.Object
org.gridkit.jvmtool.stacktrace.ThreadRecord
- All Implemented Interfaces:
- ThreadSnapshot
public class ThreadRecord
- extends Object
- implements ThreadSnapshot
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadRecord
public ThreadRecord()
ThreadRecord
public ThreadRecord(StackFrameList trace)
ThreadRecord
public ThreadRecord(StackFrameList trace,
Thread.State state)
reset
public void reset()
load
public void load(StackTraceReader reader)
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
Copyright © 2019. All Rights Reserved.