org.apache.qpid.server.configuration.plugins
Class SlowConsumerDetectionQueueConfiguration
java.lang.Object
org.apache.qpid.server.configuration.plugins.ConfigurationPlugin
org.apache.qpid.server.configuration.plugins.SlowConsumerDetectionQueueConfiguration
public class SlowConsumerDetectionQueueConfiguration
- extends ConfigurationPlugin
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 |
SlowConsumerDetectionQueueConfiguration
public SlowConsumerDetectionQueueConfiguration()
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:
- queue - the queue entries
- the alerting values for defaults
- exchange - the default exchange
- durable - set the default durablity
- 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