Interface MessageStatisticsMXBean
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
ApplicationMXBean,BaseMXBean,EndpointMXBean,SessionMXBean
@Beta public interface MessageStatisticsMXBean extends java.io.Serializable
MXBean used for exposing message-level statistics.- Author:
- Petr Janouch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetAverageReceivedMessageSize()Get the average size of all the messages received since the start of monitoring.longgetAverageSentMessageSize()Get the average size of all the messages sent since the start of monitoring.longgetMaximalReceivedMessageSize()Get the size of the largest message received since the start of monitoring.longgetMaximalSentMessageSize()Get the size of the largest message sent since the start of monitoring.longgetMinimalReceivedMessageSize()Get the size of the smallest message received since the start of monitoring.longgetMinimalSentMessageSize()Get the size of the smallest message sent since the start of monitoring.longgetReceivedMessagesCount()Get the total number of messages received since the start of monitoring.longgetReceivedMessagesCountPerSecond()Get the average number of received messages per second.longgetSentMessagesCount()Get the total number of messages sent since the start of monitoring.longgetSentMessagesCountPerSecond()Get the average number of sent messages per second.
-
-
-
Method Detail
-
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.
-
-