Enum RocksDBProperty
- java.lang.Object
-
- java.lang.Enum<RocksDBProperty>
-
- org.apache.flink.contrib.streaming.state.RocksDBProperty
-
- All Implemented Interfaces:
Serializable,Comparable<RocksDBProperty>
@Internal public enum RocksDBProperty extends Enum<RocksDBProperty>
RocksDBproperties that can be queried by Flink's metrics reporter.Note: Metrics properties are added in each new version of
RocksDB, when upgrading to a latter version consider updating this class with newly added properties.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConfigKey()StringgetRocksDBProperty()static RocksDBPropertyvalueOf(String name)Returns the enum constant of this type with the specified name.static RocksDBProperty[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NumImmutableMemTable
public static final RocksDBProperty NumImmutableMemTable
-
MemTableFlushPending
public static final RocksDBProperty MemTableFlushPending
-
CompactionPending
public static final RocksDBProperty CompactionPending
-
BackgroundErrors
public static final RocksDBProperty BackgroundErrors
-
CurSizeActiveMemTable
public static final RocksDBProperty CurSizeActiveMemTable
-
CurSizeAllMemTables
public static final RocksDBProperty CurSizeAllMemTables
-
SizeAllMemTables
public static final RocksDBProperty SizeAllMemTables
-
NumEntriesActiveMemTable
public static final RocksDBProperty NumEntriesActiveMemTable
-
NumEntriesImmMemTables
public static final RocksDBProperty NumEntriesImmMemTables
-
NumDeletesActiveMemTable
public static final RocksDBProperty NumDeletesActiveMemTable
-
NumDeletesImmMemTables
public static final RocksDBProperty NumDeletesImmMemTables
-
EstimateNumKeys
public static final RocksDBProperty EstimateNumKeys
-
EstimateTableReadersMem
public static final RocksDBProperty EstimateTableReadersMem
-
NumSnapshots
public static final RocksDBProperty NumSnapshots
-
NumLiveVersions
public static final RocksDBProperty NumLiveVersions
-
EstimateLiveDataSize
public static final RocksDBProperty EstimateLiveDataSize
-
TotalSstFilesSize
public static final RocksDBProperty TotalSstFilesSize
-
LiveSstFilesSize
public static final RocksDBProperty LiveSstFilesSize
-
EstimatePendingCompactionBytes
public static final RocksDBProperty EstimatePendingCompactionBytes
-
NumRunningCompactions
public static final RocksDBProperty NumRunningCompactions
-
NumRunningFlushes
public static final RocksDBProperty NumRunningFlushes
-
ActualDelayedWriteRate
public static final RocksDBProperty ActualDelayedWriteRate
-
IsWriteStopped
public static final RocksDBProperty IsWriteStopped
-
BlockCacheCapacity
public static final RocksDBProperty BlockCacheCapacity
-
BlockCacheUsage
public static final RocksDBProperty BlockCacheUsage
-
BlockCachePinnedUsage
public static final RocksDBProperty BlockCachePinnedUsage
-
-
Method Detail
-
values
public static RocksDBProperty[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RocksDBProperty c : RocksDBProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RocksDBProperty valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getRocksDBProperty
public String getRocksDBProperty()
- Returns:
- property string that can be used to query
RocksDB.getLongProperty(ColumnFamilyHandle, String).
-
getConfigKey
public String getConfigKey()
- Returns:
- key for enabling metric using
Configuration.
-
-