Package org.objectweb.howl.log.xa
Class XALogRecord
- java.lang.Object
-
- org.objectweb.howl.log.LogRecord
-
- org.objectweb.howl.log.xa.XALogRecord
-
-
Field Summary
Fields Modifier and Type Field Description private XACommittingTxtx
-
Constructor Summary
Constructors Constructor Description XALogRecord(int size)constructs an instance of XALogRecord with a byte[] of size data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XACommittingTxgetTx()booleanisCommit()(package private) voidsetTx(XACommittingTx tx)Called by XALogger ReplayListener to save the XACommitingTx entry associated with an XACOMMIT record.
-
-
-
Field Detail
-
tx
private XACommittingTx tx
-
-
Method Detail
-
getTx
public XACommittingTx getTx()
- Returns:
- Returns the XACommittingTx of this XALogRecord.
-
setTx
void setTx(XACommittingTx tx)
Called by XALogger ReplayListener to save the XACommitingTx entry associated with an XACOMMIT record.- Parameters:
tx- The XACommittingTx to set.
-
isCommit
public boolean isCommit()
- Returns:
- true if the current record is an XACOMMIT type.
-
-