Loggable
| Modifier and Type | Field and Description |
|---|---|
| protected long | |
| protected Formatable | |
| protected long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | doMe(Transaction
the Transaction xact, LogInstant the log instant of this operation instant, LimitObjectInput optional data in)Implements org. Nothing to do unless we are rollforward recovery; Redoing of checkpoints during rollforward recovery allows us to restart the roll-forward recovery from the last checkpoint redone during rollforward recovery, if we happen to crash during the roll-forward recovery process. |
| public ByteArray | getPreparedLog()
Implements org. the default for prepared log is always null for all the operations that don't have optionalData. |
| public Formatable | |
| public int | getTypeFormatId()
Implements org. Return my format identifier. |
| public int | group()
Implements org. Checkpoint is a raw store operation |
| public boolean | needsRedo(Transaction
The transaction trying to redo this operation xact)Implements org. Checkpoint does not need to be redone unless we are doing rollforward recovery. |
| public void | readExternal(ObjectInput
the stream to read data from in order to restore the object in)Implements java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. |
| public long | |
| public void | releaseResource(Transaction xact)
Implements org. Checkpoint has not resource to release |
| public String | |
| public long | |
| public void | writeExternal(ObjectOutput
the stream to write the object to out)Implements java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays. |
| redoLWM | back to summary |
|---|---|
| protected long redoLWM | |
| transactionTable | back to summary |
|---|---|
| protected Formatable transactionTable | |
| undoLWM | back to summary |
|---|---|
| protected long undoLWM | |
| CheckpointOperation | back to summary |
|---|---|
| public CheckpointOperation(long redoLWM, long undoLWM, Formatable ttab) | |
| CheckpointOperation | back to summary |
|---|---|
| public CheckpointOperation() | |
| doMe | back to summary |
|---|---|
| public void doMe(Transaction xact, LogInstant instant, LimitObjectInput in) throws StandardException Implements org. Nothing to do unless we are rollforward recovery; Redoing of checkpoints during rollforward recovery allows us to restart the roll-forward recovery from the last checkpoint redone during rollforward recovery, if we happen to crash during the roll-forward recovery process. Another reason why we need to do this is dropped table stub files removed at checkpoint because the containerids may have been reused after a checkpoint if the system was rebooted.
| |
| getPreparedLog | back to summary |
|---|---|
| public ByteArray getPreparedLog() Implements org. the default for prepared log is always null for all the operations that don't have optionalData. If an operation has optional data, the operation need to prepare the optional data for this method. Checkpoint has no optional data to write out | |
| getTransactionTable | back to summary |
|---|---|
| public Formatable getTransactionTable() | |
| getTypeFormatId | back to summary |
|---|---|
| public int getTypeFormatId() Implements org. Return my format identifier.
| |
| group | back to summary |
|---|---|
| public int group() Implements org. Checkpoint is a raw store operation | |
| needsRedo | back to summary |
|---|---|
| public boolean needsRedo(Transaction xact) Implements org. Checkpoint does not need to be redone unless we are doing rollforward recovery.
| |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Doc from java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.
| |
| redoLWM | back to summary |
|---|---|
| public long redoLWM() Access attributes of the checkpoint record | |
| releaseResource | back to summary |
|---|---|
| public void releaseResource(Transaction xact) Implements org. Checkpoint has not resource to release | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. DEBUG: Print self.
| |
| undoLWM | back to summary |
|---|---|
| public long undoLWM() | |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Doc from java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
| |