|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Define record types used by Logger implementations.
NOTE: record types used by all sub-classes and packages within org.objectweb.howl should be defined here so it is easy to determine that new types are always unique and do not conflict with existing types.
Field Summary | |
static short |
CLOSE
recorded by Logger to signal a clean close on the log. |
static short |
CTRL
Log records generated by Logger. |
static short |
END_OF_LOG
Type indicating that end of log has been reached. |
static short |
EOB
Type returned by get() methods to signal end of buffer. |
static short |
FILE_HEADER
Header records generated at start of every log file. |
static short |
MARKKEY
Log records containing mark data. |
static short |
RESTART
recorded by Logger to mark first block following a restart of the Logger. |
static short |
USER
Log records generated by user. |
static short |
XACOMMIT
recorded by XALogger to mark records generated by XALogger#putCommit() |
static short |
XACOMMITMOVED
recorded by XALogger *after* a XACOMMIT record is moved to allow replay to remove the original XACOMMIT record from the activeTx table. |
static short |
XADONE
recorded by XALogger to mark records generated by XALogger#putDone() |
Field Detail |
public static final short USER
public static final short CTRL
must be ORed with another value to form a complete control record type.
The first nibble contains only the CTRL flag to make it easy to see in file dumps. The remaining three nibbles contain bits that identify the specific type of control record.
public static final short FILE_HEADER
public static final short MARKKEY
Data portion of the record contains the current automark mode (true or false) and the active mark.
public static final short CLOSE
public static final short RESTART
public static final short XACOMMIT
public static final short XADONE
public static final short XACOMMITMOVED
public static final short EOB
This record type may or may not actually exist within a data buffer. A get() method should return this record type when the ByteBuffer.position() is at or beyond the used bytes for the buffer.
public static final short END_OF_LOG
signals ReplayListener that no more records will be delivered.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |