|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IXADataRecorder
logs binary data. The persistence media depends on the implementation
Method Summary | |
---|---|
void |
close()
closes the dataLogger, but keeps all resources, so the dataLogger can be reopened |
IDataRecord |
createDataRecord(XALogRecordType logRecordType,
byte[] recordData)
|
IDataRecord |
createDataRecord(XALogRecordType logRecordType,
byte[][] recordData)
|
void |
destroy()
closes the dataRecorder and destroys all resources |
boolean |
isClosed()
|
boolean |
isCommitting()
|
boolean |
isEmpty()
|
void |
recover()
tries to recover all persistent information |
void |
replayRecords(IDataRecordReplay replay)
|
void |
reset()
resets the dataLogger and prepares it for reuse |
void |
writeRollbackData(byte[] data)
logs the given data These data can be replyed to perform rollback. |
void |
writeRollbackData(byte[][] data)
logs the given data to perform rollback If writeRollforwardData is called once this method can not be called any more |
void |
writeRollforwardData(byte[] data)
logs the given data to perfrom rollforward If writeRollforwardData is called once this method can not be called any more |
void |
writeRollforwardData(byte[][] data)
logs the given data to perfrom rollforward If writeRollforwardData is called once this method can not be called any more |
Methods inherited from interface org.csc.phynixx.loggersystem.logrecord.IDataRecordSequence |
---|
getDataRecords, getXADataRecorderId |
Method Detail |
---|
boolean isEmpty()
void writeRollbackData(byte[] data)
data
- void writeRollbackData(byte[][] data)
data
- void writeRollforwardData(byte[][] data)
data
- void writeRollforwardData(byte[] data)
data
- void recover()
boolean isCommitting()
void replayRecords(IDataRecordReplay replay)
replay
- boolean isClosed()
IDataRecord createDataRecord(XALogRecordType logRecordType, byte[][] recordData)
IDataRecord createDataRecord(XALogRecordType logRecordType, byte[] recordData)
void close()
void reset()
void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |