| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Compensation | Returns: the compensation operation that will rollback this changethe transaction doing the compensating xact, LimitObjectInput optional input in)Implements org. Generate a Compensation (PageUndoOperation) that will rollback the changes of this page operation. |
| public abstract void | undoMe(Transaction
the Transaction doing the rollback xact, BasePage the page to rollback changes on undoPage, LogInstant the log instant of this (PageUndo) operation CLRinstant, LimitObjectInput optional data for the rollback operation in)Undo the change indicated by this log operation and optional data. |
| PhysicalPageOperation | back to summary |
|---|---|
| pack-priv PhysicalPageOperation(BasePage page) | |
| PhysicalPageOperation | back to summary |
|---|---|
| public PhysicalPageOperation() | |
| generateUndo | back to summary |
|---|---|
| public Compensation generateUndo(Transaction xact, LimitObjectInput in) throws StandardException Implements org. Generate a Compensation (PageUndoOperation) that will rollback the changes of this page operation. If this Page operation cannot or need not be rolled back (redo only), overwrite this function to return null. Note
During recovery redo, the logging system is page oriented and will use the pageID stored in the PageUndoOperation to find the page. The page will be latched and released using the default findpage and releaseResource - this.releaseResource() will still be called so it has to know not to release any resource it did not acquire.
| |
| undoMe | back to summary |
|---|---|
| public abstract void undoMe(Transaction xact, BasePage undoPage, LogInstant CLRinstant, LimitObjectInput in) throws StandardException, IOException Undo the change indicated by this log operation and optional data.
The page the undo should apply to is the latched undoPage, the
recordId is the same as the roll forward operation.
The available() method of in indicates how much data can be read, i.e. how much was originally written.
| |