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 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.