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 double
getAvgOperationResponseTime(String serviceName, String operationName)
double
getAvgServiceResponseTime(String serviceName)
double
getAvgSystemResponseTime()
long
getMaxOperationResponseTime(String serviceName, String operationName)
long
getMaxServiceResponseTime(String serviceName)
long
getMaxSystemResponseTime()
long
getMinOperationResponseTime(String serviceName, String operationName)
long
getMinServiceResponseTime(String serviceName)
long
getMinSystemResponseTime()
int
getOperationFaultCount(String serviceName, String operationName)
int
getOperationRequestCount(String serviceName, String operationName)
int
getOperationResponseCount(String serviceName, String operationName)
OperationStatistics
getOperationStatistics(String serviceName, String operationName)
int
getServiceFaultCount(String serviceName)
int
getServiceRequestCount(String serviceName)
Obtain the number of requests that were received by the serviceint
getServiceResponseCount(String serviceName)
ServiceStatistics
getServiceStatistics(String serviceName)
int
getSystemFaultCount()
int
getSystemRequestCount()
Get the total requests received by the system which hosts this serviceint
getSystemResponseCount()
SystemStatistics
getSystemStatistics()
StatisticData
getWebappRelatedData(String webAppName)
Reading the web app statistics datavoid
setConfigurationContext(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.AxisFault
Get the total requests received by the system which hosts this service- Specified by:
getSystemRequestCount
in 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:
getSystemFaultCount
in interfaceStatisticsAdminMBean
- Throws:
org.apache.axis2.AxisFault
-
getSystemResponseCount
public int getSystemResponseCount() throws org.apache.axis2.AxisFault
- Specified by:
getSystemResponseCount
in interfaceStatisticsAdminMBean
- Throws:
org.apache.axis2.AxisFault
-
getAvgSystemResponseTime
public double getAvgSystemResponseTime()
- Specified by:
getAvgSystemResponseTime
in interfaceStatisticsAdminMBean
-
getMaxSystemResponseTime
public long getMaxSystemResponseTime()
- Specified by:
getMaxSystemResponseTime
in interfaceStatisticsAdminMBean
-
getMinSystemResponseTime
public long getMinSystemResponseTime()
- Specified by:
getMinSystemResponseTime
in 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:
getServiceRequestCount
in 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:
getServiceFaultCount
in interfaceStatisticsAdminMBean
- Throws:
org.apache.axis2.AxisFault
-
getServiceResponseCount
public int getServiceResponseCount(String serviceName) throws org.apache.axis2.AxisFault
- Specified by:
getServiceResponseCount
in interfaceStatisticsAdminMBean
- Throws:
org.apache.axis2.AxisFault
-
getMaxServiceResponseTime
public long getMaxServiceResponseTime(String serviceName) throws org.apache.axis2.AxisFault
- Specified by:
getMaxServiceResponseTime
in interfaceStatisticsAdminMBean
- Throws:
org.apache.axis2.AxisFault
-
getMinServiceResponseTime
public long getMinServiceResponseTime(String serviceName) throws org.apache.axis2.AxisFault
- Specified by:
getMinServiceResponseTime
in interfaceStatisticsAdminMBean
- Throws:
org.apache.axis2.AxisFault
-
getAvgServiceResponseTime
public double getAvgServiceResponseTime(String serviceName) throws org.apache.axis2.AxisFault
- Specified by:
getAvgServiceResponseTime
in interfaceStatisticsAdminMBean
- Throws:
org.apache.axis2.AxisFault
-
getOperationRequestCount
public int getOperationRequestCount(String serviceName, String operationName) throws org.apache.axis2.AxisFault
- Specified by:
getOperationRequestCount
in interfaceStatisticsAdminMBean
- Throws:
org.apache.axis2.AxisFault
-
getOperationFaultCount
public int getOperationFaultCount(String serviceName, String operationName) throws org.apache.axis2.AxisFault
- Specified by:
getOperationFaultCount
in interfaceStatisticsAdminMBean
- Throws:
org.apache.axis2.AxisFault
-
getOperationResponseCount
public int getOperationResponseCount(String serviceName, String operationName) throws org.apache.axis2.AxisFault
- Specified by:
getOperationResponseCount
in interfaceStatisticsAdminMBean
- Throws:
org.apache.axis2.AxisFault
-
getMaxOperationResponseTime
public long getMaxOperationResponseTime(String serviceName, String operationName) throws org.apache.axis2.AxisFault
- Specified by:
getMaxOperationResponseTime
in interfaceStatisticsAdminMBean
- Throws:
org.apache.axis2.AxisFault
-
getMinOperationResponseTime
public long getMinOperationResponseTime(String serviceName, String operationName) throws org.apache.axis2.AxisFault
- Specified by:
getMinOperationResponseTime
in interfaceStatisticsAdminMBean
- Throws:
org.apache.axis2.AxisFault
-
getAvgOperationResponseTime
public double getAvgOperationResponseTime(String serviceName, String operationName) throws org.apache.axis2.AxisFault
- Specified by:
getAvgOperationResponseTime
in interfaceStatisticsAdminMBean
- Throws:
org.apache.axis2.AxisFault
-
setConfigurationContext
public void setConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)
- Overrides:
setConfigurationContext
in classorg.wso2.carbon.core.AbstractAdmin
-
getWebappRelatedData
public StatisticData getWebappRelatedData(String webAppName)
Reading the web app statistics data
-
-