org.wso2.carbon.statistics.services
Class SystemStatisticsUtil

java.lang.Object
  extended by 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 Summary
SystemStatisticsUtil()
           
 
Method Summary
 double getAvgOperationResponseTime(org.apache.axis2.description.AxisOperation axisOperation)
           
 double getAvgServiceResponseTime(org.apache.axis2.description.AxisService axisService)
           
 double getAvgSystemResponseTime(org.apache.axis2.engine.AxisConfiguration axisConfig)
           
 int getCurrentSystemFaultCount(org.apache.axis2.context.MessageContext messageContext)
           
 int getCurrentSystemRequestCount(org.apache.axis2.context.MessageContext messageContext)
           
 int getCurrentSystemResponseCount(org.apache.axis2.context.MessageContext messageContext)
           
 long getCurrentSystemResponseTime(org.apache.axis2.context.MessageContext messageContext)
           
 long getMaxOperationResponseTime(org.apache.axis2.description.AxisOperation axisOperation)
           
 long getMaxServiceResponseTime(org.apache.axis2.description.AxisService axisService)
           
 long getMaxSystemResponseTime(org.apache.axis2.engine.AxisConfiguration axisConfig)
           
 long getMinOperationResponseTime(org.apache.axis2.description.AxisOperation axisOperation)
           
 long getMinServiceResponseTime(org.apache.axis2.description.AxisService axisService)
           
 long getMinSystemResponseTime(org.apache.axis2.engine.AxisConfiguration axisConfig)
           
 int getOperationFaultCount(org.apache.axis2.description.AxisOperation axisOperation)
           
 int getOperationRequestCount(org.apache.axis2.description.AxisOperation axisOperation)
           
 int getOperationResponseCount(org.apache.axis2.description.AxisOperation axisOperation)
           
 OperationStatistics getOperationStatistics(org.apache.axis2.description.AxisOperation axisOp)
           
 int getServiceFaultCount(org.apache.axis2.description.AxisService axisService)
           
 int getServiceRequestCount(org.apache.axis2.description.AxisService axisService)
           
 int getServiceResponseCount(org.apache.axis2.description.AxisService axisService)
           
 ServiceStatistics getServiceStatistics(org.apache.axis2.description.AxisService axisService)
           
 int getSystemFaultCount(org.apache.axis2.engine.AxisConfiguration axisConfig)
           
 int getSystemResponseCount(org.apache.axis2.engine.AxisConfiguration axisConfig)
           
 SystemStatistics getSystemStatistics(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
           
 SystemStatistics getSystemStatistics(org.apache.axis2.context.MessageContext context)
           
 int getTotalSystemRequestCount(org.apache.axis2.engine.AxisConfiguration axisConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemStatisticsUtil

public SystemStatisticsUtil()
Method Detail

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)


Copyright © 2015 WSO2. All rights reserved.