Package org.apache.activemq.broker
Class TransportStatusDetector
java.lang.Object
org.apache.activemq.broker.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 Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voiddoSweep()intvoidrun()voidsetSweepInterval(int sweepInterval) The sweepInterval to set.voidstart()voidstop()
-
Method Details
-
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
-
run
public void run() -
start
- Specified by:
startin interfaceorg.apache.activemq.Service- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.apache.activemq.Service- Throws:
Exception
-