Class ThreadInfo


  • public abstract class ThreadInfo
    extends java.lang.Object
    Represents 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 long getId()
      The most recent ID of the thread.
      abstract java.lang.String getName()
      The most recent name of the thread.
      abstract boolean isCurrentThread()  
      abstract boolean isTerminated()
      Returns true if the thread has been GC'd or is terminated.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ThreadInfo

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

        public abstract boolean isCurrentThread()