public final class RecoveryOperation
extends java.lang.Object
LogRecordHandler.handleLogRecord is called.| Modifier and Type | Field and Description | 
|---|---|
| static RecoveryOperation | ABORTThe log is being read backward during a transaction abort; undo the
    operation described by the log record. | 
| static RecoveryOperation | APPLYThe log is being applied on a replica site; redo the operation
    described by the log record. | 
| static RecoveryOperation | BACKWARD_ROLLThe log is being read backward to determine which transactions have
    been committed and to abort those operations that were not; undo the
    operation described by the log record. | 
| static RecoveryOperation | FORWARD_ROLLThe log is being played forward; redo the operation described by the log
    record. | 
| static RecoveryOperation | PRINTThe log is being printed for debugging purposes; print the contents of
    this log record in the desired format. | 
| Modifier and Type | Method and Description | 
|---|---|
| static RecoveryOperation | fromFlag(int flag)Internal: this is public only so it can be called from an internal
    package. | 
| java.lang.String | toString() | 
public static final RecoveryOperation BACKWARD_ROLL
public static final RecoveryOperation FORWARD_ROLL
The FORWARD_ROLL and APPLY operations frequently imply the same actions, redoing changes that appear in the log record, although if a recovery function is to be used on a replication client where reads may be taking place concurrently with the processing of incoming messages, APPLY operations should also perform appropriate locking.
public static final RecoveryOperation ABORT
public static final RecoveryOperation APPLY
The FORWARD_ROLL and APPLY operations frequently imply the same actions, redoing changes that appear in the log record, although if a recovery function is to be used on a replication client where reads may be taking place concurrently with the processing of incoming messages, APPLY operations should also perform appropriate locking.
public static final RecoveryOperation PRINT
public java.lang.String toString()
toString in class java.lang.Objectpublic static RecoveryOperation fromFlag(int flag)
flag - the internal flag value to be wrapped in a RecoveryException objectCopyright (c) 2004,2014 Oracle. All rights reserved.