Class ErrorCount
java.lang.Object
org.glassfish.tyrus.ext.monitoring.jmx.ErrorCount
- All Implemented Interfaces:
Serializable
A pair of error class name and number of times the error occurred.
- Author:
- Petr Janouch
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCount()The number of times the error has occurred.Class name of the throwable that was raised.
-
Constructor Details
-
ErrorCount
@ConstructorProperties({"throwableClassName","count"}) public ErrorCount(String throwableClassName, Long count)
-
-
Method Details
-
getThrowableClassName
Class name of the throwable that was raised.- Returns:
- class name of the throwable that was raised.
-
getCount
The number of times the error has occurred.- Returns:
- the number of times the error has occurred.
-