public interface ReferenceStoreAdapter extends PersistenceAdapter
| Modifier and Type | Method and Description |
|---|---|
void |
clearMessages()
called by recover to clear out message references
|
ReferenceStore |
createQueueReferenceStore(ActiveMQQueue destination)
Factory method to create a new queue message store with the given
destination name
|
TopicReferenceStore |
createTopicReferenceStore(ActiveMQTopic destination)
Factory method to create a new topic message store with the given
destination name
|
long |
getMaxDataFileLength() |
java.util.Set<java.lang.Integer> |
getReferenceFileIdsInUse() |
boolean |
isStoreValid()
If the store isn't valid, it can be recoverd at start-up
|
void |
recoverState()
recover any state
|
void |
recoverSubscription(SubscriptionInfo info)
Recover particular subscription.
|
java.util.Map<TransactionId,AMQTx> |
retrievePreparedState() |
void |
savePreparedState(java.util.Map<TransactionId,AMQTx> map)
Save prepared transactions
|
void |
setMaxDataFileLength(long maxDataFileLength)
set the max data length of a reference data log - if used
|
beginTransaction, checkpoint, commitTransaction, createQueueMessageStore, createTopicMessageStore, createTransactionStore, deleteAllMessages, getDestinations, getDirectory, getLastMessageBrokerSequenceId, getLastProducerSequenceId, removeQueueMessageStore, removeTopicMessageStore, rollbackTransaction, setBrokerName, setDirectory, setUsageManager, sizeReferenceStore createQueueReferenceStore(ActiveMQQueue destination) throws java.io.IOException
destination - java.io.IOExceptionTopicReferenceStore createTopicReferenceStore(ActiveMQTopic destination) throws java.io.IOException
destination - java.io.IOExceptionjava.util.Set<java.lang.Integer> getReferenceFileIdsInUse() throws java.io.IOException
java.io.IOExceptionboolean isStoreValid()
void clearMessages() throws java.io.IOException
java.io.IOExceptionvoid recoverState() throws java.io.IOException
java.io.IOExceptionvoid savePreparedState(java.util.Map<TransactionId,AMQTx> map) throws java.io.IOException
map - java.io.IOExceptionjava.util.Map<TransactionId,AMQTx> retrievePreparedState() throws java.io.IOException
java.io.IOExceptionlong getMaxDataFileLength()
void setMaxDataFileLength(long maxDataFileLength)
maxDataFileLength - void recoverSubscription(SubscriptionInfo info) throws java.io.IOException
info - java.io.IOExceptionCopyright © 2005-2012. All Rights Reserved.