FileDocCategorySizeDatePackage
ServletStats.javaAPI DocGlassfish v2 API3940Fri May 04 22:25:48 BST 2007com.sun.enterprise.admin.monitor.stats

ServletStats

public interface ServletStats implements javax.management.j2ee.statistics.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

Fields Summary
Constructors Summary
Methods Summary
public javax.management.j2ee.statistics.CountStatisticgetErrorCount()
The errorCount represents the number of cases where the response code was >= 400

return
CountStatistic

public javax.management.j2ee.statistics.CountStatisticgetMaxTime()
The maximum processing time of a servlet request

return
CountStatistic

public javax.management.j2ee.statistics.CountStatisticgetProcessingTime()
Cumulative Value, indicating the time taken to process the requests received so far.

return
CountStatistic

public javax.management.j2ee.statistics.CountStatisticgetRequestCount()
Number of requests processed by this servlet.

return
CountStatistic

public javax.management.j2ee.statistics.TimeStatisticgetServiceTime()
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.

return
Execution time of the servlet's service method