|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResponseStatistics
Monitoring statistics of responses produced by application.
Statistics retrieved from Jersey runtime might be mutable and thanks to it might provide inconsistent data as not all statistics are updated in the same time. To retrieve the immutable and consistent statistics data the methodsnapshot() should be used.
See monitoring statistics for general details about statistics.| Method Summary | |
|---|---|
Integer |
getLastResponseCode()
Returns the response code of a last response written by the application. |
Map<Integer,Long> |
getResponseCodes()
Returns statistics of response codes produces by the application. |
ResponseStatistics |
snapshot()
Get the immutable and consistent snapshot of the monitoring statistics. |
| Method Detail |
|---|
Integer getLastResponseCode()
Map<Integer,Long> getResponseCodes()
ResponseStatistics snapshot()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||