Package io.perfmark.impl
Class ThreadInfo
- java.lang.Object
-
- io.perfmark.impl.ThreadInfo
-
public abstract class ThreadInfo extends java.lang.ObjectRepresents info about a Thread that may or may not still be around.
-
-
Constructor Summary
Constructors Constructor Description ThreadInfo()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract longgetId()The most recent ID of the thread.abstract java.lang.StringgetName()The most recent name of the thread.abstract booleanisCurrentThread()abstract booleanisTerminated()Returnstrueif the thread has been GC'd or is terminated.
-
-
-
Method Detail
-
getName
public abstract java.lang.String getName()
The most recent name of the thread. Non-null.
-
getId
public abstract long getId()
The most recent ID of the thread.
-
isTerminated
public abstract boolean isTerminated()
Returnstrueif the thread has been GC'd or is terminated.
-
isCurrentThread
public abstract boolean isCurrentThread()
-
-