## Uses of Class
com.sleepycat.db.RecoveryOperation

- Packages that use RecoveryOperation
  Package | Description
  --- | ---
  com.sleepycat.db | Berkeley DB Java API [reference guide] [Java programming notes].

- - ### Uses of RecoveryOperation in com.sleepycat.db

    Fields in com.sleepycat.db declared as RecoveryOperation
    Modifier and Type | Field | Description
    --- | --- | ---
    `static RecoveryOperation` | RecoveryOperation.`ABORT` | The log is being read backward during a transaction abort; undo the operation described by the log record.
    `static RecoveryOperation` | RecoveryOperation.`APPLY` | The log is being applied on a replica site; redo the operation described by the log record.
    `static RecoveryOperation` | RecoveryOperation.`BACKWARD_ROLL` | The 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` | RecoveryOperation.`FORWARD_ROLL` | The log is being played forward; redo the operation described by the log record.
    `static RecoveryOperation` | RecoveryOperation.`PRINT` | The log is being printed for debugging purposes; print the contents of this log record in the desired format.

    Methods in com.sleepycat.db that return RecoveryOperation
    Modifier and Type | Method | Description
    --- | --- | ---
    `static RecoveryOperation` | RecoveryOperation.`fromFlag​(int flag)` | Internal: this is public only so it can be called from an internal package.

    Methods in com.sleepycat.db with parameters of type RecoveryOperation
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | LogRecordHandler.`handleLogRecord​(Environment environment, DatabaseEntry logRecord, LogSequenceNumber lsn, RecoveryOperation operation)` | A function to process application-specific log records.

Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.