| Modifier and Type | Field and Description |
|---|---|
| private transient EncryptContainerOperation |
| Access | Constructor and Description |
|---|---|
| public | EncryptContainerUndoOperation(EncryptContainerOperation
Encrypt contaner operatation that is to be undone. op)Set up a Encrypt 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 ByteArray | getPreparedLog()
Implements org. the default for prepared log is always null for all the operations that don't have optionalData. |
| public int | getTypeFormatId()
Implements org. Return my format identifier. |
| public int | |
| public boolean | Returns: true, if this operation needs to be redone during recovery.the transaction that is doing the rollback xact)Implements org. Check if this operation needs to be redone during recovery redo. |
| public void | readExternal(ObjectInput
the stream to read data from in order to restore the object in)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)
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 String | |
| public void | writeExternal(ObjectOutput
the stream to write the object to out)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 EncryptContainerOperation undoOp | |
| EncryptContainerUndoOperation | back to summary |
|---|---|
| public EncryptContainerUndoOperation(EncryptContainerOperation op) Set up a Encrypt Container undo operation during run time rollback
| |
| EncryptContainerUndoOperation | back to summary |
|---|---|
| public EncryptContainerUndoOperation() | |
| 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
| |
| getPreparedLog | back to summary |
|---|---|
| public ByteArray getPreparedLog() Implements org. the default for prepared log is always null for all the operations that don't have optionalData. If an operation has optional data, the operation need to prepare the optional data for this method. Encrypt Conatainer Undo Operation has no optional data to write out | |
| getTypeFormatId | back to summary |
|---|---|
| public int getTypeFormatId() Implements org. Return my format identifier.
| |
| group | back to summary |
|---|---|
| public int group() Implements org. Doc from org. Get the loggable's group value | |
| needsRedo | back to summary |
|---|---|
| public boolean needsRedo(Transaction xact) throws StandardException Implements org. Check if this operation needs to be redone during recovery redo. Returns true if this op should be redone during recovery redo,
| |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException 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) 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.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. DEBUG: Print self.
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException 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.
| |