|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.transaction.xalog.AbstractXALogStream
com.caucho.transaction.xalog.XALogStream
public class XALogStream
Implements a single log stream. Each log stream has two associated files in order to switch at the end of the file.
| Field Summary | |
|---|---|
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
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Method Detail |
|---|
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.IOExceptionpublic boolean isFlushing()
public void writeTMCommit(XidImpl xid)
writeTMCommit in class AbstractXALogStreampublic void writeTMFinish(XidImpl xid)
writeTMFinish in class AbstractXALogStream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||