org.apache.activemq.broker.region
Class QueueRegion
java.lang.Object
org.apache.activemq.broker.region.AbstractRegion
org.apache.activemq.broker.region.QueueRegion
- All Implemented Interfaces:
- Region, Service
- Direct Known Subclasses:
- ManagedQueueRegion
public class QueueRegion
- extends AbstractRegion
- Version:
- $Revision: 1.9 $
Fields inherited from class org.apache.activemq.broker.region.AbstractRegion |
autoCreateDestinations, broker, consumerChangeMutexMap, destinationFactory, destinationMap, destinations, destinationsMutex, destinationStatistics, started, subscriptions, taskRunnerFactory, usageManager |
Methods inherited from class org.apache.activemq.broker.region.AbstractRegion |
acknowledge, addConsumer, addDestination, addProducer, addSubscriptionsForDestination, createDestination, destroySubscription, dispose, gc, getDestinationMap, getDestinations, getDurableDestinations, getSubscriptions, isAutoCreateDestinations, lookup, messagePull, processDispatchNotificationViaDestination, removeConsumer, removeDestination, removeProducer, removeSubscription, send, setAutoCreateDestinations, start, stop |
QueueRegion
public QueueRegion(RegionBroker broker,
DestinationStatistics destinationStatistics,
SystemUsage memoryManager,
TaskRunnerFactory taskRunnerFactory,
DestinationFactory destinationFactory)
toString
public String toString()
- Overrides:
toString
in class Object
createSubscription
protected Subscription createSubscription(ConnectionContext context,
ConsumerInfo info)
throws JMSException
- Specified by:
createSubscription
in class AbstractRegion
- Throws:
JMSException
getInactiveDestinations
protected Set<ActiveMQDestination> getInactiveDestinations()
- Overrides:
getInactiveDestinations
in class AbstractRegion
- Returns:
- all Destinations that don't have active consumers
processDispatchNotification
public void processDispatchNotification(MessageDispatchNotification messageDispatchNotification)
throws Exception
- Description copied from interface:
Region
- Process a notification of a dispatch - used by a Slave Broker
- Specified by:
processDispatchNotification
in interface Region
- Overrides:
processDispatchNotification
in class AbstractRegion
- Throws:
Exception
- TODO
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.