Class ErrorCount
- java.lang.Object
-
- org.glassfish.tyrus.ext.monitoring.jmx.ErrorCount
-
- All Implemented Interfaces:
java.io.Serializable
@Beta public class ErrorCount extends java.lang.Object implements java.io.Serializable
A pair of error class name and number of times the error occurred.- Author:
- Petr Janouch
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ErrorCount(java.lang.String throwableClassName, java.lang.Long count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetCount()The number of times the error has occurred.java.lang.StringgetThrowableClassName()Class name of the throwable that was raised.
-
-
-
Method Detail
-
getThrowableClassName
public java.lang.String getThrowableClassName()
Class name of the throwable that was raised.- Returns:
- class name of the throwable that was raised.
-
getCount
public java.lang.Long getCount()
The number of times the error has occurred.- Returns:
- the number of times the error has occurred.
-
-