|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExceptionMapperStatistics
Monitoring statistics of exception mapper executions.
snapshot() should be used.
See monitoring statistics for general details about statistics.| Method Summary | |
|---|---|
Map<Class<?>,Long> |
getExceptionMapperExecutions()
Get the count of exception mapper executions. |
long |
getSuccessfulMappings()
Get count of all successful exception mappings. |
long |
getTotalMappings()
Get count of exception mappings that were performed on exceptions. |
long |
getUnsuccessfulMappings()
Get count of all unsuccessful exception mappings. |
ExceptionMapperStatistics |
snapshot()
Get the immutable consistent snapshot of the monitoring statistics. |
| Method Detail |
|---|
Map<Class<?>,Long> getExceptionMapperExecutions()
classes
of exception mappers and corresponding execution count
as values. One execution of exception mapper is one call
of ExceptionMapper.toResponse(Throwable) method.
long getSuccessfulMappings()
exception mapper returns an valid response
(even if response contains non-successful response status code).
long getUnsuccessfulMappings()
exception mapper is not found, or is found but throws
exception.
long getTotalMappings()
ExceptionMapperStatistics snapshot()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||