org.apache.activemq.broker
Class TransportStatusDetector
java.lang.Object
org.apache.activemq.broker.TransportStatusDetector
- All Implemented Interfaces:
- Runnable, Service
public class TransportStatusDetector
- extends Object
- implements Service, Runnable
Used to provide information on the status of the Connection
- Version:
- $Revision: 1.5 $
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 Runnable
start
public void start()
throws Exception
- Specified by:
start
in interface Service
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop
in interface Service
- Throws:
Exception
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.