public class ThreadInfo
extends java.lang.Object
ComparableProfiler
for a thread.Constructor and Description |
---|
ThreadInfo(java.util.List<ComparableProfiler> profilers,
java.lang.Thread thread)
Instantiates a
ThreadInfo . |
Modifier and Type | Method and Description |
---|---|
void |
decreaseStackLevel()
Decreases the stack's level.
|
java.lang.Thread |
getThread()
Gets the
Thread . |
void |
increaseStackLevel()
Increases the stack's level.
|
void |
snapshot(java.lang.String tag,
Snapshot.Type type,
Group group)
Takes a snapshot.
|
java.lang.String |
toString() |
public ThreadInfo(java.util.List<ComparableProfiler> profilers, java.lang.Thread thread)
ThreadInfo
.profilers
- the profilers to follow.thread
- the thread followed.public void snapshot(java.lang.String tag, Snapshot.Type type, Group group)
tag
- the tag.type
- the type of snapshot.group
- the profiler grouppublic java.lang.Thread getThread()
Thread
.public java.lang.String toString()
toString
in class java.lang.Object
public void increaseStackLevel()
public void decreaseStackLevel()