Class ThreadDumper

  • All Implemented Interfaces:
    ActionExecutor

    public class ThreadDumper
    extends Object
    implements ActionExecutor
    Class used to take threadDumps at given time intervals. jstack command is used to take thread dumps.
    • Constructor Detail

      • ThreadDumper

        public ThreadDumper()
    • Method Detail

      • execute

        public void execute​(String folderPath)
        Method used to do thread dump with using Java Runtime Environment and jstack command.
        Specified by:
        execute in interface ActionExecutor
        Parameters:
        folderPath - folder path of the dump folder
      • execute

        public void execute()