| Modifier and Type | Field and Description |
|---|---|
| private transient ContainerOperation |
| Access | Constructor and Description |
|---|---|
| public | ContainerUndoOperation(RawContainerHandle hdl, ContainerOperation op)
Set up a Container undo operation during run time rollback |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | doMe(Transaction
the Transaction that is doing the rollback xact, LogInstant the log instant of this compenstaion operation instant, LimitObjectInput optional data in)Implements org. Apply the undo operation, in this implementation of the RawStore, it can only call the undoMe method of undoOp |
| public int | getTypeFormatId()
Implements org. Return my format identifier. |
| public int | group()
Overrides org. Implements org. Get the loggable's group value |
| public void | readExternal(ObjectInput
the stream to read data from in order to restore the object in)Overrides org. Implements java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. |
| public void | releaseResource(Transaction xact)
Overrides org. Implements org. Release any resource that was acquired for doMe for rollback or recovery redo. |
| public void | setUndoOp(Undoable
the Undoable operation op)Implements org. Set up a Container undo operation during recovery redo. |
| public void | writeExternal(ObjectOutput
the stream to write the object to out)Overrides org. Implements java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays. |
| undoOp | back to summary |
|---|---|
| private transient ContainerOperation undoOp | |
| ContainerUndoOperation | back to summary |
|---|---|
| public ContainerUndoOperation(RawContainerHandle hdl, ContainerOperation op) throws StandardException Set up a Container undo operation during run time rollback
| |
| ContainerUndoOperation | back to summary |
|---|---|
| public ContainerUndoOperation() | |
| doMe | back to summary |
|---|---|
| public final void doMe(Transaction xact, LogInstant instant, LimitObjectInput in) throws StandardException, IOException Implements org. Apply the undo operation, in this implementation of the RawStore, it can only call the undoMe method of undoOp
| |
| getTypeFormatId | back to summary |
|---|---|
| public int getTypeFormatId() Implements org. Return my format identifier.
| |
| group | back to summary |
|---|---|
| public int group() Overrides org. Implements org. Doc from org. Get the loggable's group value | |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Overrides org. Implements java. Doc from java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.
| |
| releaseResource | back to summary |
|---|---|
| public void releaseResource(Transaction xact) Overrides org. Implements org. Doc from org. Release any resource that was acquired for doMe for rollback or recovery redo. This resource is acquired in either generateUndo (if this is a compensation operation during run time rollback or recovery rollback) or in needsRedo (if this is during recovery redo). The run time transaction context should have all the resource already acquird for run time roll forward, so there is no need to releaseResource during run time roll forward. This method must be safe to be called multiple times. | |
| setUndoOp | back to summary |
|---|---|
| public void setUndoOp(Undoable op) Implements org. Set up a Container undo operation during recovery redo.
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Overrides org. Implements java. Doc from java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
| |