Interface ThreadDump


public interface ThreadDump
  • Method Details

    • getId

      long getId()
      Returns:
      the thread ID
    • getName

      @Nonnull String getName()
      Returns:
      the thread name
    • getState

      @Nonnull Thread.State getState()
      Returns:
      the thread state when the thread dump was taken
    • getStackTrace

      @Nonnull Optional<String> getStackTrace()
      Returns:
      the thread stack trace as a simple string, if one was collected when the thread dump was taken
    • isDaemon

      boolean isDaemon()
      Returns:
      whether the thread is a daemon thread