Class QueueFactoryImpl
- java.lang.Object
-
- org.apache.activemq.artemis.core.server.impl.QueueFactoryImpl
-
- All Implemented Interfaces:
QueueFactory
public class QueueFactoryImpl extends Object implements QueueFactory
A QueueFactoryImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected HierarchicalRepository<AddressSettings>addressSettingsRepositoryprotected ExecutorFactoryexecutorFactoryprotected PostOfficepostOfficeThis is required for delete-all-reference to work correctly with paging, and controlling global-sizeprotected ScheduledExecutorServicescheduledExecutorprotected ActiveMQServerserverprotected StorageManagerstorageManager
-
Constructor Summary
Constructors Constructor Description QueueFactoryImpl(ExecutorFactory executorFactory, ScheduledExecutorService scheduledExecutor, HierarchicalRepository<AddressSettings> addressSettingsRepository, StorageManager storageManager, ActiveMQServer server)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description QueuecreateQueue(long persistenceID, SimpleString address, SimpleString name, Filter filter, PageSubscription pageSubscription, SimpleString user, boolean durable, boolean temporary, boolean autoCreated)Deprecated.QueuecreateQueueWith(QueueConfiguration config, PagingManager pagingManager)QueuecreateQueueWith(QueueConfig config)Deprecated.static PageSubscriptiongetPageSubscription(QueueConfiguration queueConfiguration, PagingManager pagingManager)voidqueueRemoved(Queue queue)voidsetPostOffice(PostOffice postOffice)This is required for delete-all-reference to work correctly with paging
-
-
-
Field Detail
-
addressSettingsRepository
protected final HierarchicalRepository<AddressSettings> addressSettingsRepository
-
scheduledExecutor
protected final ScheduledExecutorService scheduledExecutor
-
postOffice
protected PostOffice postOffice
This is required for delete-all-reference to work correctly with paging, and controlling global-size
-
storageManager
protected final StorageManager storageManager
-
executorFactory
protected final ExecutorFactory executorFactory
-
server
protected final ActiveMQServer server
-
-
Constructor Detail
-
QueueFactoryImpl
public QueueFactoryImpl(ExecutorFactory executorFactory, ScheduledExecutorService scheduledExecutor, HierarchicalRepository<AddressSettings> addressSettingsRepository, StorageManager storageManager, ActiveMQServer server)
-
-
Method Detail
-
setPostOffice
public void setPostOffice(PostOffice postOffice)
Description copied from interface:QueueFactoryThis is required for delete-all-reference to work correctly with paging- Specified by:
setPostOfficein interfaceQueueFactory
-
createQueueWith
@Deprecated public Queue createQueueWith(QueueConfig config)
Deprecated.- Specified by:
createQueueWithin interfaceQueueFactory
-
createQueueWith
public Queue createQueueWith(QueueConfiguration config, PagingManager pagingManager)
- Specified by:
createQueueWithin interfaceQueueFactory
-
createQueue
@Deprecated public Queue createQueue(long persistenceID, SimpleString address, SimpleString name, Filter filter, PageSubscription pageSubscription, SimpleString user, boolean durable, boolean temporary, boolean autoCreated) throws Exception
Deprecated.- Specified by:
createQueuein interfaceQueueFactory- Throws:
Exception
-
queueRemoved
public void queueRemoved(Queue queue)
- Specified by:
queueRemovedin interfaceQueueFactory
-
getPageSubscription
public static PageSubscription getPageSubscription(QueueConfiguration queueConfiguration, PagingManager pagingManager)
-
-