public class LocalTxQueueTransactionJournal extends AbstractQueueTransactionJournal<Integer,LocalQueueTxJournalEntry>
logger
Constructor and Description |
---|
LocalTxQueueTransactionJournal(String logFilesDirectory,
MuleContext muleContext) |
LocalTxQueueTransactionJournal(String logFilesDirectory,
MuleContext muleContext,
Integer maximumFileSizeInMegabytes) |
Modifier and Type | Method and Description |
---|---|
protected LocalQueueTxJournalEntry |
createCheckpointJournalEntry(Integer txId,
byte operation)
Creates a checkpoint
JournalEntry . |
static JournalEntrySerializer<Integer,LocalQueueTxJournalEntry> |
createLocalTxQueueJournalEntrySerializer(MuleContext muleContext) |
protected LocalQueueTxJournalEntry |
createUpdateJournalEntry(Integer txId,
byte byteRepresentation,
String queueName,
Serializable value)
Creates a
JournalEntry for an update operation in the queue. |
clear, close, getAllLogEntries, getJournal, getLogEntriesForTx, logAdd, logAddFirst, logCommit, logRemove, logRollback
public LocalTxQueueTransactionJournal(String logFilesDirectory, MuleContext muleContext, Integer maximumFileSizeInMegabytes)
public LocalTxQueueTransactionJournal(String logFilesDirectory, MuleContext muleContext)
public static JournalEntrySerializer<Integer,LocalQueueTxJournalEntry> createLocalTxQueueJournalEntrySerializer(MuleContext muleContext)
protected LocalQueueTxJournalEntry createUpdateJournalEntry(Integer txId, byte byteRepresentation, String queueName, Serializable value)
AbstractQueueTransactionJournal
JournalEntry
for an update operation in the queue.createUpdateJournalEntry
in class AbstractQueueTransactionJournal<Integer,LocalQueueTxJournalEntry>
txId
- transaction identifierbyteRepresentation
- operation done over the queuequeueName
- queueName of the queue in which the operation has been donevalue
- value of the operationJournalEntry
protected LocalQueueTxJournalEntry createCheckpointJournalEntry(Integer txId, byte operation)
AbstractQueueTransactionJournal
JournalEntry
.createCheckpointJournalEntry
in class AbstractQueueTransactionJournal<Integer,LocalQueueTxJournalEntry>
txId
- transaction identifieroperation
- checkpoint operationJournalEntry
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.