public interface JournalReaderCallback
Modifier and Type | Method and Description |
---|---|
void |
markAsDataFile(JournalFile file) |
void |
onReadAddRecord(RecordInfo info) |
void |
onReadAddRecordTX(long transactionID,
RecordInfo recordInfo) |
void |
onReadCommitRecord(long transactionID,
int numberOfRecords) |
void |
onReadDeleteRecord(long recordID) |
void |
onReadDeleteRecordTX(long transactionID,
RecordInfo recordInfo) |
void |
onReadPrepareRecord(long transactionID,
byte[] extraData,
int numberOfRecords) |
void |
onReadRollbackRecord(long transactionID) |
void |
onReadUpdateRecord(RecordInfo recordInfo) |
void |
onReadUpdateRecordTX(long transactionID,
RecordInfo recordInfo) |
void onReadAddRecord(RecordInfo info) throws Exception
Exception
void onReadUpdateRecord(RecordInfo recordInfo) throws Exception
recordInfo
- Exception
void onReadDeleteRecord(long recordID) throws Exception
recordID
- Exception
void onReadAddRecordTX(long transactionID, RecordInfo recordInfo) throws Exception
transactionID
- recordInfo
- Exception
void onReadUpdateRecordTX(long transactionID, RecordInfo recordInfo) throws Exception
transactionID
- recordInfo
- Exception
void onReadDeleteRecordTX(long transactionID, RecordInfo recordInfo) throws Exception
transactionID
- recordInfo
- Exception
void onReadPrepareRecord(long transactionID, byte[] extraData, int numberOfRecords) throws Exception
transactionID
- extraData
- numberOfRecords
- Exception
void onReadCommitRecord(long transactionID, int numberOfRecords) throws Exception
transactionID
- numberOfRecords
- Exception
void onReadRollbackRecord(long transactionID) throws Exception
transactionID
- Exception
void markAsDataFile(JournalFile file)
Copyright © 2020 JBoss by Red Hat. All rights reserved.