|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServletStats
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.
| Method Summary | |
|---|---|
CountStatistic |
getErrorCount()
The errorCount represents the number of cases where the response code was >= 400 |
CountStatistic |
getMaxTime()
The maximum processing time of a servlet request |
CountStatistic |
getProcessingTime()
Cumulative Value, indicating the time taken to process the requests received so far. |
CountStatistic |
getRequestCount()
Number of requests processed by this servlet. |
TimeStatistic |
getServiceTime()
Gets the execution time of the servlet's service method. |
| Methods inherited from interface org.glassfish.j2ee.statistics.Stats |
|---|
getStatistic, getStatisticNames, getStatistics |
| Method Detail |
|---|
CountStatistic getRequestCount()
CountStatistic getProcessingTime()
TimeStatistic getServiceTime()
CountStatistic getMaxTime()
CountStatistic getErrorCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||