The is a holder object that may be setup using the setValue() and re-used rather than creating a new object for each actual log record.
The format of a log record is
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private int | |
| pack-priv transient ObjectInput | |
| private Loggable | |
| private TransactionId |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public Loggable | |
| public RePreparable | |
| public static int | |
| public TransactionId | |
| public int | getTypeFormatId()
Implements org. Return my format identifier. |
| public Undoable | |
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public static int | |
| public static int | |
| public void | readExternal(ObjectInput
the stream to read data from in order to restore the object in)Implements java. Read this in |
| public boolean | |
| public void | |
| public void | |
| public void | writeExternal(ObjectOutput
the stream to write the object to out)Implements java. Write this out. |
| formatLength | back to summary |
|---|---|
| private static final int formatLength | |
| group | back to summary |
|---|---|
| private int group | |
| input | back to summary |
|---|---|
| pack-priv transient ObjectInput input | |
| op | back to summary |
|---|---|
| private Loggable op | |
| xactId | back to summary |
|---|---|
| private TransactionId xactId | |
| LogRecord | back to summary |
|---|---|
| public LogRecord() | |
| formatOverhead | back to summary |
|---|---|
| public static int formatOverhead() | |
| getLoggable | back to summary |
|---|---|
| public Loggable getLoggable() throws IOException, ClassNotFoundException | |
| getRePreparable | back to summary |
|---|---|
| public RePreparable getRePreparable() throws IOException, ClassNotFoundException | |
| getStoredSize | back to summary |
|---|---|
| public static int getStoredSize(int group, TransactionId xactId) | |
| getTransactionId | back to summary |
|---|---|
| public TransactionId getTransactionId() throws IOException, ClassNotFoundException | |
| getTypeFormatId | back to summary |
|---|---|
| public int getTypeFormatId() Implements org. Return my format identifier.
| |
| getUndoable | back to summary |
|---|---|
| public Undoable getUndoable() throws IOException, ClassNotFoundException | |
| group | back to summary |
|---|---|
| public int group() | |
| isAbort | back to summary |
|---|---|
| public boolean isAbort() | |
| isChecksum | back to summary |
|---|---|
| public boolean isChecksum() | |
| isCLR | back to summary |
|---|---|
| public boolean isCLR() | |
| isCommit | back to summary |
|---|---|
| public boolean isCommit() | |
| isComplete | back to summary |
|---|---|
| public boolean isComplete() | |
| isFirst | back to summary |
|---|---|
| public boolean isFirst() | |
| isPrepare | back to summary |
|---|---|
| public boolean isPrepare() | |
| maxGroupStoredSize | back to summary |
|---|---|
| public static int maxGroupStoredSize() | |
| maxTransactionIdStoredSize | back to summary |
|---|---|
| public static int maxTransactionIdStoredSize(TransactionId tranId) | |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Read this in
| |
| requiresPrepareLocks | back to summary |
|---|---|
| public boolean requiresPrepareLocks() | |
| setValue | back to summary |
|---|---|
| public void setValue(TransactionId xactId, Loggable op) | |
| skipLoggable | back to summary |
|---|---|
| public void skipLoggable() throws StandardException Skip over the loggable. Set the input stream to point ot after the loggable as if the entire log record has been sucked in by the log record
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Write this out.
| |