org.gridkit.jvmtool.codec.stacktrace
Class ThreadSnapshotEventPojo

java.lang.Object
  extended by org.gridkit.jvmtool.event.GenericEvent
      extended by org.gridkit.jvmtool.codec.stacktrace.ThreadSnapshotEventPojo
All Implemented Interfaces:
ThreadSnapshotEvent, ThreadTraceEvent, CommonEvent, Event, MultiCounterEvent, TaggedEvent, TimestampedEvent, ThreadSnapshot

public class ThreadSnapshotEventPojo
extends GenericEvent
implements ThreadSnapshotEvent


Constructor Summary
ThreadSnapshotEventPojo()
           
 
Method Summary
 void loadFrom(ThreadSnapshot event)
           
 void loadFrom(ThreadSnapshotEvent event)
           
 void loadFromRawEvent(Event event)
           
 StackFrameList stackTrace()
           
 void stackTrace(StackFrameList trace)
           
 long threadId()
           
 void threadId(long threadId)
           
 String threadName()
          may be null
 void threadName(String name)
           
 Thread.State threadState()
          may be null
 void threadState(Thread.State state)
           
 
Methods inherited from class org.gridkit.jvmtool.event.GenericEvent
copyCommonEventFrom, counters, tags, timestamp, timestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gridkit.jvmtool.event.CommonEvent
counters, tags, timestamp
 
Methods inherited from interface org.gridkit.jvmtool.stacktrace.ThreadSnapshot
counters, timestamp
 

Constructor Detail

ThreadSnapshotEventPojo

public ThreadSnapshotEventPojo()
Method Detail

threadId

public long threadId()
Specified by:
threadId in interface ThreadSnapshot

threadId

public void threadId(long threadId)

threadName

public String threadName()
Description copied from interface: ThreadSnapshot
may be null

Specified by:
threadName in interface ThreadSnapshot

threadName

public void threadName(String name)

threadState

public Thread.State threadState()
Description copied from interface: ThreadSnapshot
may be null

Specified by:
threadState in interface ThreadSnapshot

threadState

public void threadState(Thread.State state)

stackTrace

public StackFrameList stackTrace()
Specified by:
stackTrace in interface ThreadTraceEvent
Specified by:
stackTrace in interface ThreadSnapshot

stackTrace

public void stackTrace(StackFrameList trace)

loadFrom

public void loadFrom(ThreadSnapshot event)

loadFrom

public void loadFrom(ThreadSnapshotEvent event)

loadFromRawEvent

public void loadFromRawEvent(Event event)


Copyright © 2019. All Rights Reserved.