org.apache.activemq.broker
Class TransportStatusDetector
java.lang.Object
org.apache.activemq.broker.TransportStatusDetector
- All Implemented Interfaces:
- java.lang.Runnable, Service
public class TransportStatusDetector
- extends java.lang.Object
- implements Service, java.lang.Runnable
Used to provide information on the status of the Connection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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()
doCollection
protected void doCollection(TransportConnection tc)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface Service
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop
in interface Service
- Throws:
java.lang.Exception
Copyright © 2005-2012. All Rights Reserved.