public interface LogRecordType
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.
Modifier and Type | Field and 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()
|
static final short USER
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.
static final short FILE_HEADER
static final short MARKKEY
Data portion of the record contains the current automark mode (true or false) and the active mark.
static final short CLOSE
static final short RESTART
static final short XACOMMIT
static final short XADONE
static final short XACOMMITMOVED
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.
static final short END_OF_LOG
signals ReplayListener that no more records will be delivered.
Copyright © 2016 ObjectWeb HOWL. All rights reserved.