public class XALogStream extends AbstractXALogStream
Modifier and Type | Field and Description |
---|---|
static int |
LOG_HEADER_BEGIN |
static int |
LOG_HEADER_END |
static int |
RA_DATA_END |
static int |
RA_DATA_PART |
static int |
TM_COMMIT |
static int |
TM_FINISH |
Modifier and Type | Method and Description |
---|---|
boolean |
isFlushing()
Returns true if the stream is flushing.
|
void |
readRecord(ReadStream is,
int code)
Reads a record.
|
void |
readXid(ReadStream is,
XidImpl xid)
Reads a record.
|
void |
writeTMCommit(XidImpl xid)
Writes a commit entry to the log file.
|
void |
writeTMFinish(XidImpl xid)
Writes a finish entry to the log file.
|
public static final int LOG_HEADER_BEGIN
public static final int LOG_HEADER_END
public static final int TM_COMMIT
public static final int TM_FINISH
public static final int RA_DATA_PART
public static final int RA_DATA_END
public void readRecord(ReadStream is, int code) throws java.io.IOException
java.io.IOException
public void readXid(ReadStream is, XidImpl xid) throws java.io.IOException
java.io.IOException
public boolean isFlushing()
public void writeTMCommit(XidImpl xid)
writeTMCommit
in class AbstractXALogStream
public void writeTMFinish(XidImpl xid)
writeTMFinish
in class AbstractXALogStream