public class TempKahaDBStore extends TempMessageDatabase implements PersistenceAdapter, BrokerServiceAware
| Modifier and Type | Class and Description |
|---|---|
class |
TempKahaDBStore.KahaDBMessageStore |
TempMessageDatabase.MessageKeysMarshaller, TempMessageDatabase.StoredDestinationMarshallerCLOSED_STATE, destinations, directory, indexMutex, inflightTransactions, OPEN_STATE, opened, pageFile, preparedTransactions, started| Constructor and Description |
|---|
TempKahaDBStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginTransaction(ConnectionContext context) |
void |
checkpoint(boolean sync) |
void |
commitTransaction(ConnectionContext context) |
MessageStore |
createQueueMessageStore(ActiveMQQueue destination) |
TopicMessageStore |
createTopicMessageStore(ActiveMQTopic destination) |
TransactionStore |
createTransactionStore() |
void |
deleteAllMessages() |
java.util.Set<ActiveMQDestination> |
getDestinations() |
long |
getLastMessageBrokerSequenceId() |
long |
getLastProducerSequenceId(ProducerId id) |
void |
load() |
void |
removeQueueMessageStore(ActiveMQQueue destination)
Cleanup method to remove any state associated with the given destination.
|
void |
removeTopicMessageStore(ActiveMQTopic destination)
Cleanup method to remove any state associated with the given destination
This method does not stop the message store (it might not be cached).
|
void |
rollbackTransaction(ConnectionContext context) |
void |
setBrokerName(java.lang.String brokerName) |
void |
setBrokerService(BrokerService brokerService) |
void |
setUsageManager(SystemUsage usageManager) |
long |
size() |
close, getDirectory, getIndexWriteBatchSize, getJournalFilesBeingReplicated, getPageFile, getStoredDestination, open, process, process, processAdd, processCommit, processPrepare, processRemove, processRollback, setDirectory, setEnableIndexWriteAsync, setIndexWriteBatchSize, start, stop, unloadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDirectory, setDirectorypublic void setBrokerName(java.lang.String brokerName)
setBrokerName in interface PersistenceAdapterpublic void setUsageManager(SystemUsage usageManager)
setUsageManager in interface PersistenceAdapterpublic TransactionStore createTransactionStore() throws java.io.IOException
createTransactionStore in interface PersistenceAdapterjava.io.IOExceptionpublic MessageStore createQueueMessageStore(ActiveMQQueue destination) throws java.io.IOException
createQueueMessageStore in interface PersistenceAdapterjava.io.IOExceptionpublic TopicMessageStore createTopicMessageStore(ActiveMQTopic destination) throws java.io.IOException
createTopicMessageStore in interface PersistenceAdapterjava.io.IOExceptionpublic void removeQueueMessageStore(ActiveMQQueue destination)
removeQueueMessageStore in interface PersistenceAdapterdestination - Destination to forgetpublic void removeTopicMessageStore(ActiveMQTopic destination)
removeTopicMessageStore in interface PersistenceAdapterdestination - Destination to forgetpublic void deleteAllMessages()
throws java.io.IOException
deleteAllMessages in interface PersistenceAdapterjava.io.IOExceptionpublic java.util.Set<ActiveMQDestination> getDestinations()
getDestinations in interface PersistenceAdapterpublic long getLastMessageBrokerSequenceId()
throws java.io.IOException
getLastMessageBrokerSequenceId in interface PersistenceAdapterjava.io.IOExceptionpublic long size()
size in interface PersistenceAdapterpublic void beginTransaction(ConnectionContext context) throws java.io.IOException
beginTransaction in interface PersistenceAdapterjava.io.IOExceptionpublic void commitTransaction(ConnectionContext context) throws java.io.IOException
commitTransaction in interface PersistenceAdapterjava.io.IOExceptionpublic void rollbackTransaction(ConnectionContext context) throws java.io.IOException
rollbackTransaction in interface PersistenceAdapterjava.io.IOExceptionpublic void checkpoint(boolean sync)
throws java.io.IOException
checkpoint in interface PersistenceAdapterjava.io.IOExceptionpublic long getLastProducerSequenceId(ProducerId id)
getLastProducerSequenceId in interface PersistenceAdapterpublic void setBrokerService(BrokerService brokerService)
setBrokerService in interface BrokerServiceAwarepublic void load()
throws java.io.IOException
load in class TempMessageDatabasejava.io.IOExceptionCopyright © 2005-2016 Red Hat, Inc.. All Rights Reserved.