Class MetricsSnapshot

java.lang.Object
org.wso2.carbon.diagnostics.action.executor.MetricsSnapshot
All Implemented Interfaces:
org.wso2.diagnostics.actionexecutor.ActionExecutor

public class MetricsSnapshot extends Object implements org.wso2.diagnostics.actionexecutor.ActionExecutor
  • Constructor Details

    • MetricsSnapshot

      public MetricsSnapshot()
  • Method Details

    • execute

      public void execute(String folderPath)
      Method used to take server information.
      Specified by:
      execute in interface org.wso2.diagnostics.actionexecutor.ActionExecutor
      Parameters:
      folderPath - folder path of the dump folder
    • getServerMetrics

      public String getServerMetrics()
      Method used to get server information.
      Returns:
      server information