Class ThreadDumper
- java.lang.Object
-
- org.wso2.diagnostics.actionexecutor.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 Summary
Constructors Constructor Description ThreadDumper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()voidexecute(String folderPath)Method used to do thread dump with using Java Runtime Environment and jstack command.
-
-
-
Method Detail
-
execute
public void execute(String folderPath)
Method used to do thread dump with using Java Runtime Environment and jstack command.- Specified by:
executein interfaceActionExecutor- Parameters:
folderPath- folder path of the dump folder
-
execute
public void execute()
-
-