Top Description Fields Methods
org.apache.derby.iapi.store.raw

public Interface Compensation

extends Loggable
Known Direct Implementers
org.apache.derby.impl.store.raw.data.ContainerUndoOperation, org.apache.derby.impl.store.raw.data.EncryptContainerUndoOperation, org.apache.derby.impl.store.raw.data.LogicalUndoOperation, org.apache.derby.impl.store.raw.data.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
Undoable#generateUndo

Field Summary

Inherited from org.apache.derby.iapi.store.raw.Loggable:
ABORTBI_LOGCHECKSUMCOMMITCOMPENSATIONFILE_RESOURCEFIRSTLASTPREPARERAWSTOREXA_NEEDLOCK

Method Summary

Modifier and TypeMethod and Description
public void
setUndoOp(Undoable
the Undoable operation
op
)

Set up the undoable operation during recovery redo.

Inherited from org.apache.derby.iapi.store.raw.Loggable:
doMegetPreparedLoggroupneedsRedoreleaseResource

Method Detail

setUndoOpback to summary
public void setUndoOp(Undoable op)

Set up the undoable operation during recovery redo.

Parameters
op:Undoable

the Undoable operation

See Also
Loggable#needsRedo