Class StatisticsAdmin

java.lang.Object
org.wso2.carbon.core.AbstractAdmin
org.wso2.carbon.statistics.services.StatisticsAdmin
All Implemented Interfaces:
StatisticsAdminMBean

public class StatisticsAdmin extends org.wso2.carbon.core.AbstractAdmin implements StatisticsAdminMBean
  • Constructor Details

    • StatisticsAdmin

      public StatisticsAdmin()
  • Method Details

    • getSystemStatistics

      public SystemStatistics getSystemStatistics() throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getServiceStatistics

      public ServiceStatistics getServiceStatistics(String serviceName) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getOperationStatistics

      public OperationStatistics getOperationStatistics(String serviceName, String operationName) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getSystemRequestCount

      public int getSystemRequestCount() throws org.apache.axis2.AxisFault
      Get the total requests received by the system which hosts this service
      Specified by:
      getSystemRequestCount in interface StatisticsAdminMBean
      Returns:
      the total requests received by the system which hosts this service
      Throws:
      org.apache.axis2.AxisFault
    • getSystemFaultCount

      public int getSystemFaultCount() throws org.apache.axis2.AxisFault
      Specified by:
      getSystemFaultCount in interface StatisticsAdminMBean
      Throws:
      org.apache.axis2.AxisFault
    • getSystemResponseCount

      public int getSystemResponseCount() throws org.apache.axis2.AxisFault
      Specified by:
      getSystemResponseCount in interface StatisticsAdminMBean
      Throws:
      org.apache.axis2.AxisFault
    • getAvgSystemResponseTime

      public double getAvgSystemResponseTime()
      Specified by:
      getAvgSystemResponseTime in interface StatisticsAdminMBean
    • getMaxSystemResponseTime

      public long getMaxSystemResponseTime()
      Specified by:
      getMaxSystemResponseTime in interface StatisticsAdminMBean
    • getMinSystemResponseTime

      public long getMinSystemResponseTime()
      Specified by:
      getMinSystemResponseTime in interface StatisticsAdminMBean
    • getServiceRequestCount

      public int getServiceRequestCount(String serviceName) throws org.apache.axis2.AxisFault
      Obtain the number of requests that were received by the service
      Specified by:
      getServiceRequestCount in interface StatisticsAdminMBean
      Parameters:
      serviceName -
      Returns:
      The number of requests that were received by the service
      Throws:
      org.apache.axis2.AxisFault
    • getServiceFaultCount

      public int getServiceFaultCount(String serviceName) throws org.apache.axis2.AxisFault
      Specified by:
      getServiceFaultCount in interface StatisticsAdminMBean
      Throws:
      org.apache.axis2.AxisFault
    • getServiceResponseCount

      public int getServiceResponseCount(String serviceName) throws org.apache.axis2.AxisFault
      Specified by:
      getServiceResponseCount in interface StatisticsAdminMBean
      Throws:
      org.apache.axis2.AxisFault
    • getMaxServiceResponseTime

      public long getMaxServiceResponseTime(String serviceName) throws org.apache.axis2.AxisFault
      Specified by:
      getMaxServiceResponseTime in interface StatisticsAdminMBean
      Throws:
      org.apache.axis2.AxisFault
    • getMinServiceResponseTime

      public long getMinServiceResponseTime(String serviceName) throws org.apache.axis2.AxisFault
      Specified by:
      getMinServiceResponseTime in interface StatisticsAdminMBean
      Throws:
      org.apache.axis2.AxisFault
    • getAvgServiceResponseTime

      public double getAvgServiceResponseTime(String serviceName) throws org.apache.axis2.AxisFault
      Specified by:
      getAvgServiceResponseTime in interface StatisticsAdminMBean
      Throws:
      org.apache.axis2.AxisFault
    • getOperationRequestCount

      public int getOperationRequestCount(String serviceName, String operationName) throws org.apache.axis2.AxisFault
      Specified by:
      getOperationRequestCount in interface StatisticsAdminMBean
      Throws:
      org.apache.axis2.AxisFault
    • getOperationFaultCount

      public int getOperationFaultCount(String serviceName, String operationName) throws org.apache.axis2.AxisFault
      Specified by:
      getOperationFaultCount in interface StatisticsAdminMBean
      Throws:
      org.apache.axis2.AxisFault
    • getOperationResponseCount

      public int getOperationResponseCount(String serviceName, String operationName) throws org.apache.axis2.AxisFault
      Specified by:
      getOperationResponseCount in interface StatisticsAdminMBean
      Throws:
      org.apache.axis2.AxisFault
    • getMaxOperationResponseTime

      public long getMaxOperationResponseTime(String serviceName, String operationName) throws org.apache.axis2.AxisFault
      Specified by:
      getMaxOperationResponseTime in interface StatisticsAdminMBean
      Throws:
      org.apache.axis2.AxisFault
    • getMinOperationResponseTime

      public long getMinOperationResponseTime(String serviceName, String operationName) throws org.apache.axis2.AxisFault
      Specified by:
      getMinOperationResponseTime in interface StatisticsAdminMBean
      Throws:
      org.apache.axis2.AxisFault
    • getAvgOperationResponseTime

      public double getAvgOperationResponseTime(String serviceName, String operationName) throws org.apache.axis2.AxisFault
      Specified by:
      getAvgOperationResponseTime in interface StatisticsAdminMBean
      Throws:
      org.apache.axis2.AxisFault
    • setConfigurationContext

      public void setConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)
      Overrides:
      setConfigurationContext in class org.wso2.carbon.core.AbstractAdmin
    • getWebappRelatedData

      public StatisticData getWebappRelatedData(String webAppName)
      Reading the web app statistics data