org.apache.qpid.server.configuration.plugins
Class SlowConsumerDetectionQueueConfiguration

java.lang.Object
  extended by org.apache.qpid.server.configuration.plugins.ConfigurationPlugin
      extended by org.apache.qpid.server.configuration.plugins.SlowConsumerDetectionQueueConfiguration

public class SlowConsumerDetectionQueueConfiguration
extends ConfigurationPlugin


Nested Class Summary
static class SlowConsumerDetectionQueueConfiguration.SlowConsumerDetectionQueueConfigurationFactory
           
 
Field Summary
 
Fields inherited from class org.apache.qpid.server.configuration.plugins.ConfigurationPlugin
_configuration, _logger
 
Constructor Summary
SlowConsumerDetectionQueueConfiguration()
           
 
Method Summary
 String formatToString()
           
 long getDepth()
           
 String[] getElementsProcessed()
          The Elements that this Plugin can process.
 long getMessageAge()
           
 long getMessageCount()
           
 SlowConsumerPolicyPlugin getPolicy()
           
 void validateConfiguration()
          Performs configuration validation.
 
Methods inherited from class org.apache.qpid.server.configuration.plugins.ConfigurationPlugin
addConfiguration, contains, containsBoolean, containsInt, containsLong, containsPositiveLong, getBooleanValue, getBooleanValue, getConfig, getConfiguration, getDoubleValue, getDoubleValue, getIntValue, getIntValue, getListValue, getListValue, getLongValue, getLongValue, getStringValue, getStringValue, hasConfiguration, mergeConfiguration, setConfiguration, showKeys, toString, validatePositiveLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SlowConsumerDetectionQueueConfiguration

public SlowConsumerDetectionQueueConfiguration()
Method Detail

getElementsProcessed

public String[] getElementsProcessed()
Description copied from class: ConfigurationPlugin
The Elements that this Plugin can process. For a Queues plugin that would be a list containing:

Specified by:
getElementsProcessed in class ConfigurationPlugin

getMessageAge

public long getMessageAge()

getDepth

public long getDepth()

getMessageCount

public long getMessageCount()

getPolicy

public SlowConsumerPolicyPlugin getPolicy()

validateConfiguration

public void validateConfiguration()
                           throws ConfigurationException
Description copied from class: ConfigurationPlugin
Performs configuration validation.

Overrides:
validateConfiguration in class ConfigurationPlugin
Throws:
ConfigurationException

formatToString

public String formatToString()
Overrides:
formatToString in class ConfigurationPlugin


Licensed to the Apache Software Foundation