Class TransportStatusDetector

  • All Implemented Interfaces:
    Runnable, org.apache.activemq.Service

    public class TransportStatusDetector
    extends Object
    implements org.apache.activemq.Service, Runnable
    Used to provide information on the status of the Connection
    • Method Detail

      • getSweepInterval

        public int getSweepInterval()
        Returns:
        Returns the sweepInterval.
      • setSweepInterval

        public void setSweepInterval​(int sweepInterval)
        The sweepInterval to set.
        Parameters:
        sweepInterval -
      • doCollection

        protected void doCollection()
      • doSweep

        protected void doSweep()
      • run

        public void run()
        Specified by:
        run in interface Runnable
      • start

        public void start()
                   throws Exception
        Specified by:
        start in interface org.apache.activemq.Service
        Throws:
        Exception
      • stop

        public void stop()
                  throws Exception
        Specified by:
        stop in interface org.apache.activemq.Service
        Throws:
        Exception