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) |
JobSchedulerStore |
createJobSchedulerStore() |
MessageStore |
createQueueMessageStore(org.apache.activemq.command.ActiveMQQueue destination) |
TopicMessageStore |
createTopicMessageStore(org.apache.activemq.command.ActiveMQTopic destination) |
TransactionStore |
createTransactionStore() |
void |
deleteAllMessages() |
Set<org.apache.activemq.command.ActiveMQDestination> |
getDestinations() |
long |
getLastMessageBrokerSequenceId() |
long |
getLastProducerSequenceId(org.apache.activemq.command.ProducerId id) |
void |
load() |
void |
removeQueueMessageStore(org.apache.activemq.command.ActiveMQQueue destination)
Cleanup method to remove any state associated with the given destination.
|
void |
removeTopicMessageStore(org.apache.activemq.command.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(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 TempKahaDBStore()
public void setBrokerName(String brokerName)
setBrokerName in interface PersistenceAdapterpublic void setUsageManager(SystemUsage usageManager)
setUsageManager in interface PersistenceAdapterpublic TransactionStore createTransactionStore() throws IOException
createTransactionStore in interface PersistenceAdapterIOExceptionpublic MessageStore createQueueMessageStore(org.apache.activemq.command.ActiveMQQueue destination) throws IOException
createQueueMessageStore in interface PersistenceAdapterIOExceptionpublic TopicMessageStore createTopicMessageStore(org.apache.activemq.command.ActiveMQTopic destination) throws IOException
createTopicMessageStore in interface PersistenceAdapterIOExceptionpublic void removeQueueMessageStore(org.apache.activemq.command.ActiveMQQueue destination)
removeQueueMessageStore in interface PersistenceAdapterdestination - Destination to forgetpublic void removeTopicMessageStore(org.apache.activemq.command.ActiveMQTopic destination)
removeTopicMessageStore in interface PersistenceAdapterdestination - Destination to forgetpublic void deleteAllMessages() throws IOException
deleteAllMessages in interface PersistenceAdapterIOExceptionpublic Set<org.apache.activemq.command.ActiveMQDestination> getDestinations()
getDestinations in interface PersistenceAdapterpublic long getLastMessageBrokerSequenceId() throws IOException
getLastMessageBrokerSequenceId in interface PersistenceAdapterIOExceptionpublic long size()
size in interface PersistenceAdapterpublic void beginTransaction(ConnectionContext context) throws IOException
beginTransaction in interface PersistenceAdapterIOExceptionpublic void commitTransaction(ConnectionContext context) throws IOException
commitTransaction in interface PersistenceAdapterIOExceptionpublic void rollbackTransaction(ConnectionContext context) throws IOException
rollbackTransaction in interface PersistenceAdapterIOExceptionpublic void checkpoint(boolean sync) throws IOException
checkpoint in interface PersistenceAdapterIOExceptionpublic long getLastProducerSequenceId(org.apache.activemq.command.ProducerId id)
getLastProducerSequenceId in interface PersistenceAdapterpublic void setBrokerService(BrokerService brokerService)
setBrokerService in interface BrokerServiceAwarepublic void load() throws IOException
load in class TempMessageDatabaseIOExceptionpublic JobSchedulerStore createJobSchedulerStore() throws IOException, UnsupportedOperationException
createJobSchedulerStore in interface PersistenceAdapterIOExceptionUnsupportedOperationExceptionCopyright © 2005–2017 FuseSource, Corp.. All rights reserved.