|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.csc.phynixx.loggersystem.logrecord.PhynixxXADataRecorder
public class PhynixxXADataRecorder
thisclas is backwards bound to the PhynixxXARecorderRepository. The current class manages LogEntries but not know the persistence logger.
Method Summary | |
---|---|
void |
addMessage(IDataRecord message)
|
void |
close()
closes the current datalogger and rewinds |
int |
compareTo(Object obj)
|
IDataRecord |
createDataRecord(XALogRecordType logRecordType,
byte[] recordData)
|
IDataRecord |
createDataRecord(XALogRecordType logRecordType,
byte[][] recordData)
|
void |
destroy()
destroyes the current dataLogger |
boolean |
equals(Object obj)
|
List<IDataRecord> |
getDataRecords()
|
long |
getMessageSequenceId()
|
long |
getXADataRecorderId()
|
int |
hashCode()
|
boolean |
isClosed()
|
boolean |
isCommitting()
|
boolean |
isCompleted()
|
boolean |
isEmpty()
|
boolean |
isPrepared()
|
void |
messageSequenceCreated()
|
void |
recover()
recovers the dataRecorder all messages are removed and all the messsages of the logger are recoverd |
void |
replayRecords(IDataRecordReplay replay)
|
void |
reset()
rewinds the recorder and resets the dataLogger. |
String |
toString()
|
void |
writeRollbackData(byte[] data)
create a new Message with the given data |
void |
writeRollbackData(byte[][] data)
create a new Message with the given data |
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 class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void recover()
recover
in interface IXADataRecorder
public List<IDataRecord> getDataRecords()
getDataRecords
in interface IDataRecordSequence
public boolean isCommitting()
isCommitting
in interface IXADataRecorder
public boolean isCompleted()
public boolean isPrepared()
public boolean isEmpty()
isEmpty
in interface IXADataRecorder
public void writeRollbackData(byte[] data)
writeRollbackData
in interface IXADataRecorder
public void writeRollbackData(byte[][] data)
writeRollbackData
in interface IXADataRecorder
public void writeRollforwardData(byte[] data)
IXADataRecorder
writeRollforwardData
in interface IXADataRecorder
public void writeRollforwardData(byte[][] data)
IXADataRecorder
writeRollforwardData
in interface IXADataRecorder
public void addMessage(IDataRecord message)
public void replayRecords(IDataRecordReplay replay)
replayRecords
in interface IXADataRecorder
public IDataRecord createDataRecord(XALogRecordType logRecordType, byte[] recordData)
createDataRecord
in interface IXADataRecorder
public IDataRecord createDataRecord(XALogRecordType logRecordType, byte[][] recordData)
createDataRecord
in interface IXADataRecorder
public long getMessageSequenceId()
public int compareTo(Object obj)
public boolean equals(Object obj)
equals
in class Object
public long getXADataRecorderId()
getXADataRecorderId
in interface IDataRecordSequence
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public void reset()
reset
in interface IXADataRecorder
public void close()
close
in interface IXADataRecorder
public boolean isClosed()
isClosed
in interface IXADataRecorder
public void destroy()
destroy
in interface IXADataRecorder
public void messageSequenceCreated()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |