Interface ServletStats

  • All Superinterfaces:
    Stats

    public interface ServletStats
    extends Stats
    Defines additional Sun ONE Application Server specific statistics ServletStats interface. The ServletStats interface that is defined by JSR77, cannot be used here, as it is not possible to encapsulate the data pertaining to the service method in a TimeStatistic. Therefore it becomes necessary to define our own interface for exposing Servlet Statistics.
    Since:
    S1AS8.0
    • Method Detail

      • getRequestCount

        CountStatistic getRequestCount()
        Number of requests processed by this servlet.
        Returns:
        CountStatistic
      • getProcessingTime

        CountStatistic getProcessingTime()
        Cumulative Value, indicating the time taken to process the requests received so far.
        Returns:
        CountStatistic
      • getServiceTime

        TimeStatistic getServiceTime()
        Gets the execution time of the servlet's service method. This method is identical in functionality to getProcessingTime(), except that it exposes the execution time of the servlet's service method under the JSR 77 compliant property name and type.
        Returns:
        Execution time of the servlet's service method
      • getMaxTime

        CountStatistic getMaxTime()
        The maximum processing time of a servlet request
        Returns:
        CountStatistic
      • getErrorCount

        CountStatistic getErrorCount()
        The errorCount represents the number of cases where the response code was >= 400
        Returns:
        CountStatistic