Interface JournalLoader
- All Known Implementing Classes:
BackupRecoveryJournalLoader,PostOfficeJournalLoader
public interface JournalLoader
-
Method Summary
Modifier and TypeMethodDescriptionvoidcleanUp()voidhandleAddMessage(Map<Long, Map<Long, AddMessageRecord>> queueMap) voidhandleDuplicateIds(Map<SimpleString, List<Pair<byte[], Long>>> duplicateIDMap) voidhandleGroupingBindings(List<GroupingInfo> groupingInfos) voidhandleNoMessageReferences(Map<Long, Message> messages) voidhandlePreparedAcknowledge(long messageID, List<MessageReference> referencesToAck, long queueID) voidhandlePreparedSendMessage(Message message, Transaction tx, long queueID) voidhandlePreparedTransaction(Transaction tx, List<MessageReference> referencesToAck, Xid xid, ResourceManager resourceManager) voidinitAddresses(List<AddressBindingInfo> addressBindingInfo) voidinitQueues(Map<Long, QueueBindingInfo> queueBindingInfosMap, List<QueueBindingInfo> queueBindingInfos) voidpostLoad(Journal messageJournal, ResourceManager resourceManager, Map<SimpleString, List<Pair<byte[], Long>>> duplicateIDMap) voidrecoverPendingPageCounters(List<PageCountPending> pendingNonTXPageCounter)
-
Method Details
-
initQueues
void initQueues(Map<Long, QueueBindingInfo> queueBindingInfosMap, List<QueueBindingInfo> queueBindingInfos) throws Exception- Throws:
Exception
-
initAddresses
- Throws:
Exception
-
handleAddMessage
- Throws:
Exception
-
handleNoMessageReferences
-
handleGroupingBindings
-
handleDuplicateIds
- Throws:
Exception
-
postLoad
void postLoad(Journal messageJournal, ResourceManager resourceManager, Map<SimpleString, List<Pair<byte[], throws ExceptionLong>>> duplicateIDMap) - Throws:
Exception
-
handlePreparedSendMessage
- Throws:
Exception
-
handlePreparedAcknowledge
void handlePreparedAcknowledge(long messageID, List<MessageReference> referencesToAck, long queueID) throws Exception - Throws:
Exception
-
handlePreparedTransaction
void handlePreparedTransaction(Transaction tx, List<MessageReference> referencesToAck, Xid xid, ResourceManager resourceManager) throws Exception - Throws:
Exception
-
recoverPendingPageCounters
- Throws:
Exception
-
cleanUp
void cleanUp()
-