Class CamelThreadDump

java.lang.Object
org.apache.camel.dsl.jbang.core.commands.CamelCommand
org.apache.camel.dsl.jbang.core.commands.action.CamelThreadDump
All Implemented Interfaces:
Callable<Integer>

public class CamelThreadDump extends CamelCommand
  • Constructor Details

  • Method Details

    • doWatchCall

      public Integer doWatchCall() throws Exception
      Throws:
      Exception
    • singleTable

      protected void singleTable(List<org.apache.camel.dsl.jbang.core.commands.action.CamelThreadDump.Row> rows)
    • tableAndStackTrace

      protected void tableAndStackTrace(List<org.apache.camel.dsl.jbang.core.commands.action.CamelThreadDump.Row> rows)
    • sortRow

      protected int sortRow(org.apache.camel.dsl.jbang.core.commands.action.CamelThreadDump.Row o1, org.apache.camel.dsl.jbang.core.commands.action.CamelThreadDump.Row o2)
    • waitForOutputFile

      protected org.apache.camel.util.json.JsonObject waitForOutputFile(File outputFile)
    • doCall

      public Integer doCall() throws Exception
      Specified by:
      doCall in class CamelCommand
      Throws:
      Exception
    • clearScreen

      protected void clearScreen()
    • getJsonObject

      protected static org.apache.camel.util.json.JsonObject getJsonObject(File outputFile)