Interface MessageStatisticsMXBean
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ApplicationMXBean,BaseMXBean,EndpointMXBean,SessionMXBean
MXBean used for exposing message-level statistics.
- Author:
- Petr Janouch
-
Method Summary
Modifier and TypeMethodDescriptionlongGet the average size of all the messages received since the start of monitoring.longGet the average size of all the messages sent since the start of monitoring.longGet the size of the largest message received since the start of monitoring.longGet the size of the largest message sent since the start of monitoring.longGet the size of the smallest message received since the start of monitoring.longGet the size of the smallest message sent since the start of monitoring.longGet the total number of messages received since the start of monitoring.longGet the average number of received messages per second.longGet the total number of messages sent since the start of monitoring.longGet the average number of sent messages per second.
-
Method Details
-
getSentMessagesCount
long getSentMessagesCount()Get the total number of messages sent since the start of monitoring.- Returns:
- the total number of messages sent since the start of monitoring.
-
getMinimalSentMessageSize
long getMinimalSentMessageSize()Get the size of the smallest message sent since the start of monitoring.- Returns:
- the size of the smallest message sent since the start of monitoring.
-
getMaximalSentMessageSize
long getMaximalSentMessageSize()Get the size of the largest message sent since the start of monitoring.- Returns:
- the size of the largest message sent since the start of monitoring.
-
getAverageSentMessageSize
long getAverageSentMessageSize()Get the average size of all the messages sent since the start of monitoring.- Returns:
- the average size of all the message sent since the start of monitoring.
-
getSentMessagesCountPerSecond
long getSentMessagesCountPerSecond()Get the average number of sent messages per second.- Returns:
- the average number of sent messages per second.
-
getReceivedMessagesCount
long getReceivedMessagesCount()Get the total number of messages received since the start of monitoring.- Returns:
- the total number of messages received since the start of monitoring.
-
getMinimalReceivedMessageSize
long getMinimalReceivedMessageSize()Get the size of the smallest message received since the start of monitoring.- Returns:
- the size of the smallest message received since the start of monitoring.
-
getMaximalReceivedMessageSize
long getMaximalReceivedMessageSize()Get the size of the largest message received since the start of monitoring.- Returns:
- the size of the largest message received since the start of monitoring.
-
getAverageReceivedMessageSize
long getAverageReceivedMessageSize()Get the average size of all the messages received since the start of monitoring.- Returns:
- the average size of all the message received since the start of monitoring.
-
getReceivedMessagesCountPerSecond
long getReceivedMessagesCountPerSecond()Get the average number of received messages per second.- Returns:
- the average number of received messages per second.
-