Package org.rocksdb
Enum Class PerfLevel
- All Implemented Interfaces:
Serializable,Comparable<PerfLevel>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiondisable perf statsenable only count statsenable count and time statsOther than time, also measure CPU time counters.Other than count stats, also enable time stats except for mutexesDeprecated.It's here to just keep parity with C++ API.Unknown setting -
Method Summary
-
Enum Constant Details
-
UNINITIALIZED
Unknown setting -
DISABLE
disable perf stats -
ENABLE_COUNT
enable only count stats -
ENABLE_TIME_EXCEPT_FOR_MUTEX
Other than count stats, also enable time stats except for mutexes -
ENABLE_TIME_AND_CPU_TIME_EXCEPT_FOR_MUTEX
Other than time, also measure CPU time counters. Still don't measure time (neither wall time nor CPU time) for mutexes -
ENABLE_TIME
enable count and time stats -
OUT_OF_BOUNDS
Deprecated.It's here to just keep parity with C++ API.Do not use
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
public byte getValue() -
getPerfLevel
-