public class JournalReaderCallbackAbstract extends Object implements JournalReaderCallback
Constructor and Description |
---|
JournalReaderCallbackAbstract() |
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) |
public void markAsDataFile(JournalFile file)
markAsDataFile
in interface JournalReaderCallback
public void onReadAddRecord(RecordInfo info) throws Exception
onReadAddRecord
in interface JournalReaderCallback
Exception
public void onReadAddRecordTX(long transactionID, RecordInfo recordInfo) throws Exception
onReadAddRecordTX
in interface JournalReaderCallback
Exception
public void onReadCommitRecord(long transactionID, int numberOfRecords) throws Exception
onReadCommitRecord
in interface JournalReaderCallback
Exception
public void onReadDeleteRecord(long recordID) throws Exception
onReadDeleteRecord
in interface JournalReaderCallback
Exception
public void onReadDeleteRecordTX(long transactionID, RecordInfo recordInfo) throws Exception
onReadDeleteRecordTX
in interface JournalReaderCallback
Exception
public void onReadPrepareRecord(long transactionID, byte[] extraData, int numberOfRecords) throws Exception
onReadPrepareRecord
in interface JournalReaderCallback
Exception
public void onReadRollbackRecord(long transactionID) throws Exception
onReadRollbackRecord
in interface JournalReaderCallback
Exception
public void onReadUpdateRecord(RecordInfo recordInfo) throws Exception
onReadUpdateRecord
in interface JournalReaderCallback
Exception
public void onReadUpdateRecordTX(long transactionID, RecordInfo recordInfo) throws Exception
onReadUpdateRecordTX
in interface JournalReaderCallback
Exception
Copyright © 2017 JBoss by Red Hat. All rights reserved.