- All Superinterfaces:
- java.io.Externalizable, org.apache.derby.iapi.services.io.Formatable, Loggable, java.io.Serializable, org.apache.derby.iapi.services.io.TypedFormat
- public interface Compensation
- extends Loggable
A Compensation operation can compensate for the action of a log operation.
A Compensation operation itself is not undo-able, i.e., it is loggable but
not undoable.
A Compensation operation is generated by the logging system when it calls
undoable.generateUndo(). GenerateUndo should be the only way a
compensation operation can be made.
| Fields inherited from interface org.apache.derby.iapi.store.raw.Loggable |
ABORT, BI_LOG, CHECKSUM, COMMIT, COMPENSATION, FILE_RESOURCE, FIRST, LAST, PREPARE, RAWSTORE, XA_NEEDLOCK |
|
Method Summary |
void |
setUndoOp(Undoable op)
Set up the undoable operation during recovery redo. |
setUndoOp
public void setUndoOp(Undoable op)
- Set up the undoable operation during recovery redo.