Class MemoryDumper
- java.lang.Object
-
- org.wso2.diagnostics.actionexecutor.MemoryDumper
-
- All Implemented Interfaces:
ActionExecutor
public class MemoryDumper extends Object implements ActionExecutor
MemoryDumper class is used to do Heap dump for given process. This class use Java Runtime environment and jmap command to do memory dump.
-
-
Constructor Summary
Constructors Constructor Description MemoryDumper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()voidexecute(String filepath)Method used to do memory dump with using Java Runtime Environment and jmap command.
-
-
-
Method Detail
-
execute
public void execute(String filepath)
Method used to do memory dump with using Java Runtime Environment and jmap command.- Specified by:
executein interfaceActionExecutor- Parameters:
filepath- file path of the dump folder
-
execute
public void execute()
-
-