Interface ApplicationMXBean
-
- All Superinterfaces:
BaseMXBean,MessageStatisticsMXBean,java.io.Serializable
@Beta public interface ApplicationMXBean extends BaseMXBean
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<EndpointMXBean>getEndpointMXBeans()Get list of MXBeans representing registered endpoints.java.util.List<java.lang.String>getEndpointPaths()Get endpoint paths for currently registered endpoints.java.util.List<EndpointClassNamePathPair>getEndpoints()Get endpoint paths and class names for currently registered endpoints.intgetMaximalOpenSessionsCount()Get the maximal number of open sessions on the endpoint since the start of monitoring.intgetOpenSessionsCount()Get the number of sessions currently open on the endpoint.-
Methods inherited from interface org.glassfish.tyrus.ext.monitoring.jmx.BaseMXBean
getBinaryMessageStatisticsMXBean, getControlMessageStatisticsMXBean, getErrorCounts, getTextMessageStatisticsMXBean
-
Methods inherited from interface org.glassfish.tyrus.ext.monitoring.jmx.MessageStatisticsMXBean
getAverageReceivedMessageSize, getAverageSentMessageSize, getMaximalReceivedMessageSize, getMaximalSentMessageSize, getMinimalReceivedMessageSize, getMinimalSentMessageSize, getReceivedMessagesCount, getReceivedMessagesCountPerSecond, getSentMessagesCount, getSentMessagesCountPerSecond
-
-
-
-
Method Detail
-
getEndpoints
java.util.List<EndpointClassNamePathPair> getEndpoints()
Get endpoint paths and class names for currently registered endpoints.- Returns:
- endpoint paths and class names for currently registered endpoints.
-
getEndpointPaths
java.util.List<java.lang.String> 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
java.util.List<EndpointMXBean> getEndpointMXBeans()
Get list of MXBeans representing registered endpoints.- Returns:
- list of MXBeans representing registered endpoints.
-
-