| java.lang.Object org.apache.derby.impl.store.raw.log.CheckpointOperation
CheckpointOperation | public class CheckpointOperation implements Loggable(Code) | | A Log Operation that represents a checkpoint.
See Also: Loggable |
redoLWM | protected long redoLWM(Code) | | |
undoLWM | protected long undoLWM(Code) | | |
CheckpointOperation | public CheckpointOperation(long redoLWM, long undoLWM, Formatable ttab)(Code) | | |
CheckpointOperation | public CheckpointOperation()(Code) | | |
doMe | public void doMe(Transaction xact, LogInstant instant, LimitObjectInput in) throws StandardException(Code) | | 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 | public ByteArray getPreparedLog()(Code) | | 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
|
getTypeFormatId | public int getTypeFormatId()(Code) | | Return my format identifier.
|
group | public int group()(Code) | | Checkpoint is a raw store operation
|
needsRedo | public boolean needsRedo(Transaction xact)(Code) | | Checkpoint does not need to be redone unless
we are doing rollforward recovery.
|
redoLWM | public long redoLWM()(Code) | | Access attributes of the checkpoint record
|
releaseResource | public void releaseResource(Transaction xact)(Code) | | Checkpoint has not resource to release
|
undoLWM | public long undoLWM()(Code) | | |
|
|