|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceStatistics
Monitoring statistics of the resource. The resource is a set of resource methods with specific characteristics
that is not defined by this interface. The resource can be set of resource methods that are accessible on
the same URI (in the case of MonitoringStatistics.getUriStatistics())
or the set of resource methods defined in one Class (in case
of MonitoringStatistics.getResourceClassStatistics()).
snapshot() should be used.
The principles of using statistics
is similar to principles of using MonitoringStatistics.
See monitoring statistics for general details about statistics.| Method Summary | |
|---|---|
ExecutionStatistics |
getRequestExecutionStatistics()
Get execution statistics that contain measurements of times for
whole processing from time when request comes into the Jersey application until the response
is written to the underlying IO container. |
ExecutionStatistics |
getResourceMethodExecutionStatistics()
Get execution statistics that contain measurements of times only for
execution of resource methods. |
Map<ResourceMethod,ResourceMethodStatistics> |
getResourceMethodStatistics()
Return the statistics for resource method. |
ResourceStatistics |
snapshot()
Get the immutable and consistent snapshot of the monitoring statistics. |
| Method Detail |
|---|
ExecutionStatistics getResourceMethodExecutionStatistics()
execution statistics that contain measurements of times only for
execution of resource methods. Durations average time, minimum time and maximum time
measure only time of execution of resource methods code. It does not involve other request processing
phases.
ExecutionStatistics getRequestExecutionStatistics()
execution statistics that contain measurements of times for
whole processing from time when request comes into the Jersey application until the response
is written to the underlying IO container. The statistics involves only requests that were matched
to resource methods defined in getResourceMethodStatistics().
Map<ResourceMethod,ResourceMethodStatistics> getResourceMethodStatistics()
resource methods
available in the resource and values are execution statistics of these resource methods.
resource method keys
and corresponding resource method statistics.ResourceStatistics snapshot()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||