Interface JMSConnectorStatusMBean

  • All Known Implementing Classes:
    JMSConnectorStatus

    public interface JMSConnectorStatusMBean
    • Method Detail

      • getPeriod

        int getPeriod()
        Returns the period of time between 2 checks.
        Returns:
        the period of time between 2 checks.
      • setPeriod

        void setPeriod​(int period)
        Sets the period of time between 2 checks.
        Parameters:
        period - the period of time between 2 checks.
      • getTimeOut

        int getTimeOut()
        Returns the maximum time waiting for connection.
        Returns:
        the maximum time waiting for connection.
      • setTimeOut

        void setTimeOut​(int timeOut)
        Sets the maximum time waiting for connection.
        Parameters:
        timeOut - the maximum time waiting for connection.
      • getStatus

        int getStatus()
        Returns the status of the connector: 0 => RUNNING, >0 => UNREACHABLE.
        Returns:
        the number of unreachable connection
      • getStatusInfo

        String getStatusInfo()
      • getNbTry

        int getNbTry()
        Returns the total number of try since starting.
        Returns:
        the total number of try since starting.
      • getNbFailures

        int getNbFailures()
        Returns the total number of failures since starting.
        Returns:
        the total number of failures since starting.
      • getErrorMsg

        String getErrorMsg()
        Returns the error message of the last try. Returns null if the test is successful.
        Returns:
      • getLastConnectTime

        String getLastConnectTime()
        Returns the date of last successful connection.
        Returns:
        the date of last successful connection.
      • getLatencyConnect

        long getLatencyConnect()
        Returns the latency of the connection during the last try. Returns -1 if the test failed.
        Returns:
        the latency of the connection during the last try.
      • getLatencyPubSub

        long getLatencyPubSub()
        Returns the latency of the send/receive during the last try. Returns -1 if the test failed.
        Returns:
        the latency of the send/receive during the last try.