Class SystemStatisticsUtil

java.lang.Object
org.wso2.carbon.statistics.services.SystemStatisticsUtil

public class SystemStatisticsUtil extends Object
This util is used for obtaining System statistics. It will be called by StatisticsAdmin service as well as other components.
  • Constructor Details

    • SystemStatisticsUtil

      public SystemStatisticsUtil()
  • Method Details

    • getSystemStatistics

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

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

      public ServiceStatistics getServiceStatistics(org.apache.axis2.description.AxisService axisService) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getOperationStatistics

      public OperationStatistics getOperationStatistics(org.apache.axis2.description.AxisOperation axisOp) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getTotalSystemRequestCount

      public int getTotalSystemRequestCount(org.apache.axis2.engine.AxisConfiguration axisConfig) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getSystemFaultCount

      public int getSystemFaultCount(org.apache.axis2.engine.AxisConfiguration axisConfig) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getSystemResponseCount

      public int getSystemResponseCount(org.apache.axis2.engine.AxisConfiguration axisConfig) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getAvgSystemResponseTime

      public double getAvgSystemResponseTime(org.apache.axis2.engine.AxisConfiguration axisConfig)
    • getMaxSystemResponseTime

      public long getMaxSystemResponseTime(org.apache.axis2.engine.AxisConfiguration axisConfig)
    • getMinSystemResponseTime

      public long getMinSystemResponseTime(org.apache.axis2.engine.AxisConfiguration axisConfig)
    • getServiceRequestCount

      public int getServiceRequestCount(org.apache.axis2.description.AxisService axisService) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getServiceFaultCount

      public int getServiceFaultCount(org.apache.axis2.description.AxisService axisService) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getServiceResponseCount

      public int getServiceResponseCount(org.apache.axis2.description.AxisService axisService) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getMaxServiceResponseTime

      public long getMaxServiceResponseTime(org.apache.axis2.description.AxisService axisService) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getMinServiceResponseTime

      public long getMinServiceResponseTime(org.apache.axis2.description.AxisService axisService) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getAvgServiceResponseTime

      public double getAvgServiceResponseTime(org.apache.axis2.description.AxisService axisService) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getOperationRequestCount

      public int getOperationRequestCount(org.apache.axis2.description.AxisOperation axisOperation) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getOperationFaultCount

      public int getOperationFaultCount(org.apache.axis2.description.AxisOperation axisOperation) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getOperationResponseCount

      public int getOperationResponseCount(org.apache.axis2.description.AxisOperation axisOperation) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getMaxOperationResponseTime

      public long getMaxOperationResponseTime(org.apache.axis2.description.AxisOperation axisOperation) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getMinOperationResponseTime

      public long getMinOperationResponseTime(org.apache.axis2.description.AxisOperation axisOperation) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getAvgOperationResponseTime

      public double getAvgOperationResponseTime(org.apache.axis2.description.AxisOperation axisOperation) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getCurrentSystemResponseCount

      public int getCurrentSystemResponseCount(org.apache.axis2.context.MessageContext messageContext)
    • getCurrentSystemResponseTime

      public long getCurrentSystemResponseTime(org.apache.axis2.context.MessageContext messageContext)
    • getCurrentSystemRequestCount

      public int getCurrentSystemRequestCount(org.apache.axis2.context.MessageContext messageContext)
    • getCurrentSystemFaultCount

      public int getCurrentSystemFaultCount(org.apache.axis2.context.MessageContext messageContext)