Interface ApplicationMXBean
- All Superinterfaces:
BaseMXBean,MessageStatisticsMXBean,Serializable
MXBean used for accessing monitored application properties - registered endpoints, number of currently open sessions,
maximal number of open sessions since the start of the monitoring and message statistics.
- Author:
- Petr Janouch
-
Method Summary
Modifier and TypeMethodDescriptionGet list of MXBeans representing registered endpoints.Get endpoint paths for currently registered endpoints.Get endpoint paths and class names for currently registered endpoints.intGet the maximal number of open sessions on the endpoint since the start of monitoring.intGet the number of sessions currently open on the endpoint.Methods inherited from interface org.glassfish.tyrus.ext.monitoring.jmx.BaseMXBean
getBinaryMessageStatisticsMXBean, getControlMessageStatisticsMXBean, getErrorCounts, getTextMessageStatisticsMXBeanMethods inherited from interface org.glassfish.tyrus.ext.monitoring.jmx.MessageStatisticsMXBean
getAverageReceivedMessageSize, getAverageSentMessageSize, getMaximalReceivedMessageSize, getMaximalSentMessageSize, getMinimalReceivedMessageSize, getMinimalSentMessageSize, getReceivedMessagesCount, getReceivedMessagesCountPerSecond, getSentMessagesCount, getSentMessagesCountPerSecond
-
Method Details
-
getEndpoints
List<EndpointClassNamePathPair> getEndpoints()Get endpoint paths and class names for currently registered endpoints.- Returns:
- endpoint paths and class names for currently registered endpoints.
-
getEndpointPaths
Get endpoint paths for currently registered endpoints.- Returns:
- paths of registered endpoints.
-
getOpenSessionsCount
int getOpenSessionsCount()Get the number of sessions currently open on the endpoint.- Returns:
- the number of sessions currently open on the endpoint.
-
getMaximalOpenSessionsCount
int getMaximalOpenSessionsCount()Get the maximal number of open sessions on the endpoint since the start of monitoring.- Returns:
- the maximal number of open sessions on the endpoint since the start of monitoring.
-
getEndpointMXBeans
List<EndpointMXBean> getEndpointMXBeans()Get list of MXBeans representing registered endpoints.- Returns:
- list of MXBeans representing registered endpoints.
-