Interface Compensation
- All Superinterfaces:
Externalizable, Formatable, Loggable, Serializable, TypedFormat
- All Known Implementing Classes:
ContainerUndoOperation, EncryptContainerUndoOperation, LogicalUndoOperation, PhysicalUndoOperation
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.
- See Also:
-
Field Summary
Fields inherited from interface Loggable
ABORT, BI_LOG, CHECKSUM, COMMIT, COMPENSATION, FILE_RESOURCE, FIRST, LAST, PREPARE, RAWSTORE, XA_NEEDLOCK -
Method Summary
Methods inherited from interface Externalizable
readExternal, writeExternalMethods inherited from interface Loggable
doMe, getPreparedLog, group, needsRedo, releaseResourceMethods inherited from interface TypedFormat
getTypeFormatId
-
Method Details
-
setUndoOp
Set up the undoable operation during recovery redo.- Parameters:
op- the Undoable operation- See Also:
-