Interface PoolNetworkMBean

  • All Superinterfaces:
    NetworkMBean
    All Known Implementing Classes:
    PoolNetwork, SSLNetwork

    public interface PoolNetworkMBean
    extends NetworkMBean
    JMX interface of the PoolNetwork component. This interface only reports global indicators of the component, each NetSession has its own JMX interface.
    • Method Detail

      • getNbMaxActiveSession

        int getNbMaxActiveSession()
        Gets the maximum number of active session.
        Returns:
        the maximum number of active session.
      • getNbActiveSession

        int getNbActiveSession()
        Gets the number of active session.
        Returns:
        the number of active session.
      • getIdleTimeout

        long getIdleTimeout()
        Gets the maximum idle period permitted before reseting the connection.
        Returns:
        the number of waiting messages.
      • setIdleTimeout

        void setIdleTimeout​(long idleTimeout)
        Sets the maximum idle period permitted before reseting the connection.
        Parameters:
        idleTimeout - the maximum idle period permitted before reseting the connection.
      • getCompressedFlows

        boolean getCompressedFlows()
        Returns if the stream between servers are compressed or not.
        Returns:
        true if the streams between servers are compressed, false otherwise.