Interface ThreadInformation


  • public interface ThreadInformation
    Interface used to print basic or extended thread information.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void printStack​(java.lang.StringBuilder sb, java.lang.StackTraceElement[] trace)
      Formats the stack trace into the provided StringBuilder.
      void printThreadInfo​(java.lang.StringBuilder sb)
      Formats the thread information into the provided StringBuilder.
    • Method Detail

      • printThreadInfo

        void printThreadInfo​(java.lang.StringBuilder sb)
        Formats the thread information into the provided StringBuilder.
        Parameters:
        sb - The StringBuilder.
      • printStack

        void printStack​(java.lang.StringBuilder sb,
                        java.lang.StackTraceElement[] trace)
        Formats the stack trace into the provided StringBuilder.
        Parameters:
        sb - The StringBuilder.
        trace - The stack trace element array to format.