Package org.rocksdb

Enum Class WalProcessingOption

java.lang.Object
java.lang.Enum<WalProcessingOption>
org.rocksdb.WalProcessingOption
All Implemented Interfaces:
Serializable, Comparable<WalProcessingOption>, Constable

public enum WalProcessingOption extends Enum<WalProcessingOption>
  • Enum Constant Details

    • CONTINUE_PROCESSING

      public static final WalProcessingOption CONTINUE_PROCESSING
    • IGNORE_CURRENT_RECORD

      public static final WalProcessingOption IGNORE_CURRENT_RECORD
      Ignore the current record but continue processing of log(s).
    • STOP_REPLAY

      public static final WalProcessingOption STOP_REPLAY
      Stop replay of logs and discard logs. Logs won't be replayed on subsequent recovery.
    • CORRUPTED_RECORD

      public static final WalProcessingOption CORRUPTED_RECORD
      Corrupted record detected by filter.
  • Method Details

    • values

      public static WalProcessingOption[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WalProcessingOption valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromValue

      public static WalProcessingOption fromValue(byte value)