org.wso2.carbon.statistics.services
Interface StatisticsAdminMBean

All Known Implementing Classes:
StatisticsAdmin

public interface StatisticsAdminMBean

MBean interface of the StatisticsAdmin MBean


Method Summary
 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)
           
 int getServiceFaultCount(String serviceName)
           
 int getServiceRequestCount(String serviceName)
          Obtain the number of requests that were received by the service
 int getServiceResponseCount(String serviceName)
           
 int getSystemFaultCount()
           
 int getSystemRequestCount()
          Get the total requests received by the system which hosts this service
 int getSystemResponseCount()
           
 

Method Detail

getSystemRequestCount

int getSystemRequestCount()
                          throws Exception
Get the total requests received by the system which hosts this service

Returns:
the total requests received by the system which hosts this service
Throws:
Exception - If request count cannot be found

getSystemFaultCount

int getSystemFaultCount()
                        throws Exception
Throws:
Exception

getSystemResponseCount

int getSystemResponseCount()
                           throws Exception
Throws:
Exception

getAvgSystemResponseTime

double getAvgSystemResponseTime()

getMaxSystemResponseTime

long getMaxSystemResponseTime()

getMinSystemResponseTime

long getMinSystemResponseTime()

getServiceRequestCount

int getServiceRequestCount(String serviceName)
                           throws Exception
Obtain the number of requests that were received by the service

Parameters:
serviceName -
Returns:
The number of requests that were received by the service
Throws:
Exception

getServiceFaultCount

int getServiceFaultCount(String serviceName)
                         throws Exception
Throws:
Exception

getServiceResponseCount

int getServiceResponseCount(String serviceName)
                            throws Exception
Throws:
Exception

getMaxServiceResponseTime

long getMaxServiceResponseTime(String serviceName)
                               throws Exception
Throws:
Exception

getMinServiceResponseTime

long getMinServiceResponseTime(String serviceName)
                               throws Exception
Throws:
Exception

getAvgServiceResponseTime

double getAvgServiceResponseTime(String serviceName)
                                 throws Exception
Throws:
Exception

getOperationRequestCount

int getOperationRequestCount(String serviceName,
                             String operationName)
                             throws Exception
Throws:
Exception

getOperationFaultCount

int getOperationFaultCount(String serviceName,
                           String operationName)
                           throws Exception
Throws:
Exception

getOperationResponseCount

int getOperationResponseCount(String serviceName,
                              String operationName)
                              throws Exception
Throws:
Exception

getMaxOperationResponseTime

long getMaxOperationResponseTime(String serviceName,
                                 String operationName)
                                 throws Exception
Throws:
Exception

getMinOperationResponseTime

long getMinOperationResponseTime(String serviceName,
                                 String operationName)
                                 throws Exception
Throws:
Exception

getAvgOperationResponseTime

double getAvgOperationResponseTime(String serviceName,
                                   String operationName)
                                   throws Exception
Throws:
Exception


Copyright © 2015 WSO2. All rights reserved.