Package org.rocksdb

Enum Class InfoLogLevel

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

public enum InfoLogLevel extends Enum<InfoLogLevel>
RocksDB log levels.
  • Enum Constant Details

    • DEBUG_LEVEL

      public static final InfoLogLevel DEBUG_LEVEL
    • INFO_LEVEL

      public static final InfoLogLevel INFO_LEVEL
    • WARN_LEVEL

      public static final InfoLogLevel WARN_LEVEL
    • ERROR_LEVEL

      public static final InfoLogLevel ERROR_LEVEL
    • FATAL_LEVEL

      public static final InfoLogLevel FATAL_LEVEL
    • HEADER_LEVEL

      public static final InfoLogLevel HEADER_LEVEL
    • NUM_INFO_LOG_LEVELS

      public static final InfoLogLevel NUM_INFO_LOG_LEVELS
  • Method Details

    • values

      public static InfoLogLevel[] 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 InfoLogLevel 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
    • getValue

      public byte getValue()
      Returns the byte value of the enumerations value
      Returns:
      byte representation
    • getInfoLogLevel

      public static InfoLogLevel getInfoLogLevel(byte value)
      Get InfoLogLevel by byte value.
      Parameters:
      value - byte representation of InfoLogLevel.
      Returns:
      InfoLogLevel instance.
      Throws:
      IllegalArgumentException - if an invalid value is provided.