Interface EndpointMXBean

  • All Superinterfaces:
    BaseMXBean, MessageStatisticsMXBean, java.io.Serializable

    @Beta
    public interface EndpointMXBean
    extends BaseMXBean
    MXBean used for accessing monitored endpoint properties - endpoint path and class name, number of currently open sessions, maximal number of open sessions since the start of monitoring, and message statistics.
    Author:
    Petr Janouch
    See Also:
    MessageStatisticsMXBean
    • Method Detail

      • getEndpointPath

        java.lang.String getEndpointPath()
        Get the path the endpoint is registered on.
        Returns:
        path of the endpoint.
      • getEndpointClassName

        java.lang.String getEndpointClassName()
        Get the class name of the endpoint.
        Returns:
        the class name of the endpoint.
      • 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.
      • getSessionMXBeans

        java.util.List<SessionMXBean> getSessionMXBeans()
        Get list of MXBeans representing currently open sessions. Return an empty list if monitoring is conducted only on endpoint level.
        Returns:
        list of MXBeans representing currently open sessions.