Interface StatisticsAdminMBean

  • All Known Implementing Classes:
    StatisticsAdmin

    public interface StatisticsAdminMBean
    MBean interface of the StatisticsAdmin MBean
    • 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
      • 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
      • getAvgServiceResponseTime

        double getAvgServiceResponseTime​(String serviceName)
                                  throws Exception
        Throws:
        Exception