Class SystemStatisticsUtil
java.lang.Object
org.wso2.carbon.statistics.services.SystemStatisticsUtil
This util is used for obtaining System statistics. It will be called by StatisticsAdmin service
as well as other components.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetAvgOperationResponseTime(org.apache.axis2.description.AxisOperation axisOperation) doublegetAvgServiceResponseTime(org.apache.axis2.description.AxisService axisService) doublegetAvgSystemResponseTime(org.apache.axis2.engine.AxisConfiguration axisConfig) intgetCurrentSystemFaultCount(org.apache.axis2.context.MessageContext messageContext) intgetCurrentSystemRequestCount(org.apache.axis2.context.MessageContext messageContext) intgetCurrentSystemResponseCount(org.apache.axis2.context.MessageContext messageContext) longgetCurrentSystemResponseTime(org.apache.axis2.context.MessageContext messageContext) longgetMaxOperationResponseTime(org.apache.axis2.description.AxisOperation axisOperation) longgetMaxServiceResponseTime(org.apache.axis2.description.AxisService axisService) longgetMaxSystemResponseTime(org.apache.axis2.engine.AxisConfiguration axisConfig) longgetMinOperationResponseTime(org.apache.axis2.description.AxisOperation axisOperation) longgetMinServiceResponseTime(org.apache.axis2.description.AxisService axisService) longgetMinSystemResponseTime(org.apache.axis2.engine.AxisConfiguration axisConfig) intgetOperationFaultCount(org.apache.axis2.description.AxisOperation axisOperation) intgetOperationRequestCount(org.apache.axis2.description.AxisOperation axisOperation) intgetOperationResponseCount(org.apache.axis2.description.AxisOperation axisOperation) getOperationStatistics(org.apache.axis2.description.AxisOperation axisOp) intgetServiceFaultCount(org.apache.axis2.description.AxisService axisService) intgetServiceRequestCount(org.apache.axis2.description.AxisService axisService) intgetServiceResponseCount(org.apache.axis2.description.AxisService axisService) getServiceStatistics(org.apache.axis2.description.AxisService axisService) intgetSystemFaultCount(org.apache.axis2.engine.AxisConfiguration axisConfig) intgetSystemResponseCount(org.apache.axis2.engine.AxisConfiguration axisConfig) getSystemStatistics(org.apache.axis2.context.MessageContext context) getSystemStatistics(org.apache.axis2.engine.AxisConfiguration axisConfiguration) intgetTotalSystemRequestCount(org.apache.axis2.engine.AxisConfiguration axisConfig)
-
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)
-