org.apache.activemq.broker
Class TransportStatusDetector

java.lang.Object
  extended by 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


Method Summary
protected  void doCollection()
           
protected  void doCollection(TransportConnection tc)
           
protected  void doSweep()
           
 int getSweepInterval()
           
 void run()
           
 void setSweepInterval(int sweepInterval)
          The sweepInterval to set.
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()

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-2013 The Apache Software Foundation. All Rights Reserved.