public MemoryTopicMessageStore(ActiveMQDestination destination) { this(destination, new MemoryTopicMessageStoreLRUCache(100, 100, 0.75f, false), makeSubscriptionInfoMap()); // Set the messageStoreStatistics after the super class is initialized // so that the stats can be properly updated on cache eviction MemoryTopicMessageStoreLRUCache cache = (MemoryTopicMessageStoreLRUCache) originalMessageTable; cache.setMessageStoreStatistics(messageStoreStatistics); }
public MemoryTopicMessageStore(ActiveMQDestination destination) { this(destination, new LRUCache<MessageId, Message>(100, 100, 0.75f, false), makeSubscriptionInfoMap()); }
public MemoryTopicMessageStore(ActiveMQDestination destination) { this(destination, new MemoryTopicMessageStoreLRUCache(100, 100, 0.75f, false), makeSubscriptionInfoMap()); // Set the messageStoreStatistics after the super class is initialized // so that the stats can be properly updated on cache eviction MemoryTopicMessageStoreLRUCache cache = (MemoryTopicMessageStoreLRUCache) originalMessageTable; cache.setMessageStoreStatistics(messageStoreStatistics); }
public MemoryTopicMessageStore(ActiveMQDestination destination) { this(destination, new MemoryTopicMessageStoreLRUCache(100, 100, 0.75f, false), makeSubscriptionInfoMap()); // Set the messageStoreStatistics after the super class is initialized // so that the stats can be properly updated on cache eviction MemoryTopicMessageStoreLRUCache cache = (MemoryTopicMessageStoreLRUCache) originalMessageTable; cache.setMessageStoreStatistics(messageStoreStatistics); }
public MemoryTopicMessageStore(ActiveMQDestination destination) { this(destination, new MemoryTopicMessageStoreLRUCache(100, 100, 0.75f, false), makeSubscriptionInfoMap()); // Set the messageStoreStatistics after the super class is initialized // so that the stats can be properly updated on cache eviction MemoryTopicMessageStoreLRUCache cache = (MemoryTopicMessageStoreLRUCache) originalMessageTable; cache.setMessageStoreStatistics(messageStoreStatistics); }