org.apache.qpid.server.virtualhost.plugins
Class VirtualHostHouseKeepingPlugin

java.lang.Object
  extended by org.apache.qpid.server.virtualhost.HouseKeepingTask
      extended by org.apache.qpid.server.virtualhost.plugins.VirtualHostHouseKeepingPlugin
All Implemented Interfaces:
Runnable, Plugin, VirtualHostPlugin
Direct Known Subclasses:
SlowConsumerDetection

public abstract class VirtualHostHouseKeepingPlugin
extends HouseKeepingTask
implements VirtualHostPlugin


Field Summary
protected  org.apache.log4j.Logger _logger
           
 
Constructor Summary
VirtualHostHouseKeepingPlugin(VirtualHost vhost)
           
 
Method Summary
abstract  long getDelay()
          Long value representing the delay between repeats
abstract  TimeUnit getTimeUnit()
          Option to specify what the delay value represents
 
Methods inherited from class org.apache.qpid.server.virtualhost.HouseKeepingTask
execute, getVirtualHost, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Runnable
run
 
Methods inherited from interface org.apache.qpid.server.plugins.Plugin
configure
 

Field Detail

_logger

protected final org.apache.log4j.Logger _logger
Constructor Detail

VirtualHostHouseKeepingPlugin

public VirtualHostHouseKeepingPlugin(VirtualHost vhost)
Method Detail

getDelay

public abstract long getDelay()
Long value representing the delay between repeats

Specified by:
getDelay in interface VirtualHostPlugin
Returns:

getTimeUnit

public abstract TimeUnit getTimeUnit()
Option to specify what the delay value represents

Specified by:
getTimeUnit in interface VirtualHostPlugin
Returns:
See Also:
for valid value.


Licensed to the Apache Software Foundation