org.apache.qpid.server.configuration
Class VirtualHostConfiguration

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

public class VirtualHostConfiguration
extends ConfigurationPlugin


Field Summary
 
Fields inherited from class org.apache.qpid.server.configuration.plugins.ConfigurationPlugin
_configuration, _logger
 
Constructor Summary
VirtualHostConfiguration(String name, Configuration config)
           
 
Method Summary
 String getAuthenticationDatabase()
           
 long getCapacity()
           
 List getCustomExchanges()
           
 String[] getElementsProcessed()
          The Elements that this Plugin can process.
 ExchangeConfiguration getExchangeConfiguration(String exchangeName)
           
 List getExchanges()
           
 long getFlowResumeCapacity()
           
 long getHousekeepingExpiredMessageCheckPeriod()
           
 int getHouseKeepingThreadCount()
           
 int getMaximumMessageAge()
           
 Long getMaximumMessageCount()
           
 Long getMaximumMessageSize()
           
 Long getMaximumQueueDepth()
           
 long getMemoryUsageMaximum()
           
 long getMemoryUsageMinimum()
           
 String getMessageStoreClass()
           
 Long getMinimumAlertRepeatGap()
           
 String getName()
           
 ConfigurationPlugin getQueueConfiguration(AMQQueue queue)
           
 QueueConfiguration getQueueConfiguration(String queueName)
           
 String[] getQueueNames()
           
 Configuration getStoreConfiguration()
           
 void setConfiguration(Configuration config)
          Apply the given configuration to this VirtualHostConfiguration
 void setMessageStoreClass(String storeClass)
           
 void validateConfiguration()
          Performs configuration validation.
 
Methods inherited from class org.apache.qpid.server.configuration.plugins.ConfigurationPlugin
addConfiguration, contains, containsBoolean, containsInt, containsLong, containsPositiveLong, formatToString, 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

VirtualHostConfiguration

public VirtualHostConfiguration(String name,
                                Configuration config)
                         throws ConfigurationException
Throws:
ConfigurationException
Method Detail

setConfiguration

public void setConfiguration(Configuration config)
                      throws ConfigurationException
Apply the given configuration to this VirtualHostConfiguration

Parameters:
config - the config to apply
Throws:
ConfigurationException - if a problem occurs with configuration

getName

public String getName()

getHousekeepingExpiredMessageCheckPeriod

public long getHousekeepingExpiredMessageCheckPeriod()

getAuthenticationDatabase

public String getAuthenticationDatabase()

getCustomExchanges

public List getCustomExchanges()

getStoreConfiguration

public Configuration getStoreConfiguration()

getMessageStoreClass

public String getMessageStoreClass()

setMessageStoreClass

public void setMessageStoreClass(String storeClass)

getExchanges

public List getExchanges()

getQueueNames

public String[] getQueueNames()

getExchangeConfiguration

public ExchangeConfiguration getExchangeConfiguration(String exchangeName)

getQueueConfiguration

public QueueConfiguration getQueueConfiguration(String queueName)

getQueueConfiguration

public ConfigurationPlugin getQueueConfiguration(AMQQueue queue)

getMemoryUsageMaximum

public long getMemoryUsageMaximum()

getMemoryUsageMinimum

public long getMemoryUsageMinimum()

getMaximumMessageAge

public int getMaximumMessageAge()

getMaximumQueueDepth

public Long getMaximumQueueDepth()

getMaximumMessageSize

public Long getMaximumMessageSize()

getMaximumMessageCount

public Long getMaximumMessageCount()

getMinimumAlertRepeatGap

public Long getMinimumAlertRepeatGap()

getCapacity

public long getCapacity()

getFlowResumeCapacity

public long getFlowResumeCapacity()

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

validateConfiguration

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

Overrides:
validateConfiguration in class ConfigurationPlugin
Throws:
ConfigurationException

getHouseKeepingThreadCount

public int getHouseKeepingThreadCount()


Licensed to the Apache Software Foundation