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 Summary
Constructors Constructor Description StatisticsAdmin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAvgOperationResponseTime(String serviceName, String operationName)doublegetAvgServiceResponseTime(String serviceName)doublegetAvgSystemResponseTime()longgetMaxOperationResponseTime(String serviceName, String operationName)longgetMaxServiceResponseTime(String serviceName)longgetMaxSystemResponseTime()longgetMinOperationResponseTime(String serviceName, String operationName)longgetMinServiceResponseTime(String serviceName)longgetMinSystemResponseTime()intgetOperationFaultCount(String serviceName, String operationName)intgetOperationRequestCount(String serviceName, String operationName)intgetOperationResponseCount(String serviceName, String operationName)OperationStatisticsgetOperationStatistics(String serviceName, String operationName)intgetServiceFaultCount(String serviceName)intgetServiceRequestCount(String serviceName)Obtain the number of requests that were received by the serviceintgetServiceResponseCount(String serviceName)ServiceStatisticsgetServiceStatistics(String serviceName)intgetSystemFaultCount()intgetSystemRequestCount()Get the total requests received by the system which hosts this serviceintgetSystemResponseCount()SystemStatisticsgetSystemStatistics()StatisticDatagetWebappRelatedData(String webAppName)Reading the web app statistics datavoidsetConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)-
Methods inherited from class org.wso2.carbon.core.AbstractAdmin
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setPermissionUpdateTimestamp
-
-
-
-
Method Detail
-
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.AxisFaultGet the total requests received by the system which hosts this service- Specified by:
getSystemRequestCountin interfaceStatisticsAdminMBean- 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:
getSystemFaultCountin interfaceStatisticsAdminMBean- Throws:
org.apache.axis2.AxisFault
-
getSystemResponseCount
public int getSystemResponseCount() throws org.apache.axis2.AxisFault- Specified by:
getSystemResponseCountin interfaceStatisticsAdminMBean- Throws:
org.apache.axis2.AxisFault
-
getAvgSystemResponseTime
public double getAvgSystemResponseTime()
- Specified by:
getAvgSystemResponseTimein interfaceStatisticsAdminMBean
-
getMaxSystemResponseTime
public long getMaxSystemResponseTime()
- Specified by:
getMaxSystemResponseTimein interfaceStatisticsAdminMBean
-
getMinSystemResponseTime
public long getMinSystemResponseTime()
- Specified by:
getMinSystemResponseTimein interfaceStatisticsAdminMBean
-
getServiceRequestCount
public int getServiceRequestCount(String serviceName) throws org.apache.axis2.AxisFault
Obtain the number of requests that were received by the service- Specified by:
getServiceRequestCountin interfaceStatisticsAdminMBean- 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:
getServiceFaultCountin interfaceStatisticsAdminMBean- Throws:
org.apache.axis2.AxisFault
-
getServiceResponseCount
public int getServiceResponseCount(String serviceName) throws org.apache.axis2.AxisFault
- Specified by:
getServiceResponseCountin interfaceStatisticsAdminMBean- Throws:
org.apache.axis2.AxisFault
-
getMaxServiceResponseTime
public long getMaxServiceResponseTime(String serviceName) throws org.apache.axis2.AxisFault
- Specified by:
getMaxServiceResponseTimein interfaceStatisticsAdminMBean- Throws:
org.apache.axis2.AxisFault
-
getMinServiceResponseTime
public long getMinServiceResponseTime(String serviceName) throws org.apache.axis2.AxisFault
- Specified by:
getMinServiceResponseTimein interfaceStatisticsAdminMBean- Throws:
org.apache.axis2.AxisFault
-
getAvgServiceResponseTime
public double getAvgServiceResponseTime(String serviceName) throws org.apache.axis2.AxisFault
- Specified by:
getAvgServiceResponseTimein interfaceStatisticsAdminMBean- Throws:
org.apache.axis2.AxisFault
-
getOperationRequestCount
public int getOperationRequestCount(String serviceName, String operationName) throws org.apache.axis2.AxisFault
- Specified by:
getOperationRequestCountin interfaceStatisticsAdminMBean- Throws:
org.apache.axis2.AxisFault
-
getOperationFaultCount
public int getOperationFaultCount(String serviceName, String operationName) throws org.apache.axis2.AxisFault
- Specified by:
getOperationFaultCountin interfaceStatisticsAdminMBean- Throws:
org.apache.axis2.AxisFault
-
getOperationResponseCount
public int getOperationResponseCount(String serviceName, String operationName) throws org.apache.axis2.AxisFault
- Specified by:
getOperationResponseCountin interfaceStatisticsAdminMBean- Throws:
org.apache.axis2.AxisFault
-
getMaxOperationResponseTime
public long getMaxOperationResponseTime(String serviceName, String operationName) throws org.apache.axis2.AxisFault
- Specified by:
getMaxOperationResponseTimein interfaceStatisticsAdminMBean- Throws:
org.apache.axis2.AxisFault
-
getMinOperationResponseTime
public long getMinOperationResponseTime(String serviceName, String operationName) throws org.apache.axis2.AxisFault
- Specified by:
getMinOperationResponseTimein interfaceStatisticsAdminMBean- Throws:
org.apache.axis2.AxisFault
-
getAvgOperationResponseTime
public double getAvgOperationResponseTime(String serviceName, String operationName) throws org.apache.axis2.AxisFault
- Specified by:
getAvgOperationResponseTimein interfaceStatisticsAdminMBean- Throws:
org.apache.axis2.AxisFault
-
setConfigurationContext
public void setConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)
- Overrides:
setConfigurationContextin classorg.wso2.carbon.core.AbstractAdmin
-
getWebappRelatedData
public StatisticData getWebappRelatedData(String webAppName)
Reading the web app statistics data
-
-