Class AbstractTempRegion
- java.lang.Object
-
- org.apache.activemq.broker.region.AbstractRegion
-
- org.apache.activemq.broker.region.AbstractTempRegion
-
- Direct Known Subclasses:
TempQueueRegion
,TempTopicRegion
public abstract class AbstractTempRegion extends AbstractRegion
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.broker.region.AbstractRegion
autoCreateDestinations, broker, consumerChangeMutexMap, destinationFactory, destinationMap, destinations, destinationsLock, destinationStatistics, regionStatistics, started, subscriptions, taskRunnerFactory, usageManager
-
-
Constructor Summary
Constructors Constructor Description AbstractTempRegion(RegionBroker broker, DestinationStatistics destinationStatistics, SystemUsage memoryManager, TaskRunnerFactory taskRunnerFactory, DestinationFactory destinationFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Destination
createDestination(ConnectionContext context, ActiveMQDestination destination)
protected void
dispose(ConnectionContext context, Destination dest)
void
stop()
-
Methods inherited from class org.apache.activemq.broker.region.AbstractRegion
acknowledge, addConsumer, addDestination, addProducer, addSubscriptionsForDestination, createSubscription, destroySubscription, gc, getDestinationMap, getDestinations, getDurableDestinations, getInactiveDestinations, getSubscriptions, isAutoCreateDestinations, lookup, messagePull, processConsumerControl, processDispatchNotification, processDispatchNotificationViaDestination, reapplyInterceptor, removeConsumer, removeDestination, removeProducer, removeSubscription, send, setAutoCreateDestinations, start, updateRegionDestCounts, validateMaxDestinations
-
-
-
-
Constructor Detail
-
AbstractTempRegion
public AbstractTempRegion(RegionBroker broker, DestinationStatistics destinationStatistics, SystemUsage memoryManager, TaskRunnerFactory taskRunnerFactory, DestinationFactory destinationFactory)
- Parameters:
broker
-destinationStatistics
-memoryManager
-taskRunnerFactory
-destinationFactory
-
-
-
Method Detail
-
stop
public void stop() throws Exception
- Specified by:
stop
in interfaceService
- Overrides:
stop
in classAbstractRegion
- Throws:
Exception
-
createDestination
protected Destination createDestination(ConnectionContext context, ActiveMQDestination destination) throws Exception
- Overrides:
createDestination
in classAbstractRegion
- Throws:
Exception
-
dispose
protected final void dispose(ConnectionContext context, Destination dest) throws Exception
- Overrides:
dispose
in classAbstractRegion
- Throws:
Exception
-
-