Class StatisticsAdmin

    • Constructor Detail

      • StatisticsAdmin

        public StatisticsAdmin()
    • 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 interface StatisticsAdminMBean
        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 interface StatisticsAdminMBean
        Throws:
        org.apache.axis2.AxisFault
      • 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 interface StatisticsAdminMBean
        Parameters:
        serviceName -
        Returns:
        The number of requests that were received by the service
        Throws:
        org.apache.axis2.AxisFault
      • setConfigurationContext

        public void setConfigurationContext​(org.apache.axis2.context.ConfigurationContext configurationContext)
        Overrides:
        setConfigurationContext in class org.wso2.carbon.core.AbstractAdmin
      • getWebappRelatedData

        public StatisticData getWebappRelatedData​(String webAppName)
        Reading the web app statistics data