Interface BaseMXBean
- All Superinterfaces:
MessageStatisticsMXBean,Serializable
- All Known Subinterfaces:
ApplicationMXBean,EndpointMXBean,SessionMXBean
- Author:
- Petr Janouch
-
Method Summary
Modifier and TypeMethodDescriptionGet an MXBean containing statistics about binary messages.Get an MXBean containing statistics about control messages.Get list of Throwable class name - count pairs, which represent errors and number of times they have occurred.Get an MXBean containing statistics about text messages.Methods inherited from interface org.glassfish.tyrus.ext.monitoring.jmx.MessageStatisticsMXBean
getAverageReceivedMessageSize, getAverageSentMessageSize, getMaximalReceivedMessageSize, getMaximalSentMessageSize, getMinimalReceivedMessageSize, getMinimalSentMessageSize, getReceivedMessagesCount, getReceivedMessagesCountPerSecond, getSentMessagesCount, getSentMessagesCountPerSecond
-
Method Details
-
getErrorCounts
List<ErrorCount> getErrorCounts()Get list of Throwable class name - count pairs, which represent errors and number of times they have occurred.- Returns:
- list of Throwable class name - count pairs, which represent errors and number of times they have occurred.
-
getTextMessageStatisticsMXBean
MessageStatisticsMXBean getTextMessageStatisticsMXBean()Get an MXBean containing statistics about text messages.- Returns:
- an MXBean containing statistics about text messages.
-
getBinaryMessageStatisticsMXBean
MessageStatisticsMXBean getBinaryMessageStatisticsMXBean()Get an MXBean containing statistics about binary messages.- Returns:
- an MXBean containing statistics about binary messages.
-
getControlMessageStatisticsMXBean
MessageStatisticsMXBean getControlMessageStatisticsMXBean()Get an MXBean containing statistics about control messages.- Returns:
- an MXBean containing statistics about control messages.
-