Class ThreadInfo

java.lang.Object
io.perfmark.impl.ThreadInfo
Direct Known Subclasses:
ThreadRefInfo

public abstract class ThreadInfo extends Object
Represents info about a Thread that may or may not still be around.
  • Constructor Details

    • ThreadInfo

      public ThreadInfo()
  • Method Details

    • getName

      public abstract 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()
      Returns true if the thread has been GC'd or is terminated.
    • isCurrentThread

      public abstract boolean isCurrentThread()