Interface LogRecordType
-
public interface LogRecordType
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
Fields Modifier and Type Field Description 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
-
USER
static final short USER
Log records generated by user.- See Also:
- Constant Field Values
-
CTRL
static final short CTRL
Log records generated by Logger.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.
- See Also:
- Constant Field Values
-
FILE_HEADER
static final short FILE_HEADER
Header records generated at start of every log file.- See Also:
- Constant Field Values
-
MARKKEY
static final short MARKKEY
Log records containing mark data.Data portion of the record contains the current automark mode (true or false) and the active mark.
- See Also:
- Constant Field Values
-
CLOSE
static final short CLOSE
recorded by Logger to signal a clean close on the log.- See Also:
- Constant Field Values
-
RESTART
static final short RESTART
recorded by Logger to mark first block following a restart of the Logger.- See Also:
- Constant Field Values
-
XACOMMIT
static final short XACOMMIT
recorded by XALogger to mark records generated by XALogger#putCommit()- See Also:
- Constant Field Values
-
XADONE
static final short XADONE
recorded by XALogger to mark records generated by XALogger#putDone()- See Also:
- Constant Field Values
-
XACOMMITMOVED
static final short XACOMMITMOVED
recorded by XALogger *after* a XACOMMIT record is moved to allow replay to remove the original XACOMMIT record from the activeTx table.- See Also:
- Constant Field Values
-
EOB
static final short EOB
Type returned by get() methods to signal end of buffer.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.
- See Also:
- Constant Field Values
-
END_OF_LOG
static final short END_OF_LOG
Type indicating that end of log has been reached.signals ReplayListener that no more records will be delivered.
- See Also:
- Constant Field Values
-
-