Class MetricsSnapshot
- java.lang.Object
-
- org.wso2.diagnostics.actionexecutor.MetricsSnapshot
-
- All Implemented Interfaces:
ActionExecutor
public class MetricsSnapshot extends Object implements ActionExecutor
-
-
Constructor Summary
Constructors Constructor Description MetricsSnapshot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(String folderPath)Method used to take server information.StringgetServerMetrics()Method used to get server information.
-
-
-
Method Detail
-
execute
public void execute(String folderPath)
Method used to take server information.- Specified by:
executein interfaceActionExecutor- Parameters:
folderPath- folder path of the dump folder
-
getServerMetrics
public String getServerMetrics()
Method used to get server information.- Returns:
- server information
-
-