@Internal public enum RocksDBProperty extends Enum<RocksDBProperty>
RocksDB
properties 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.
Modifier and Type | Method and Description |
---|---|
String |
getConfigKey() |
String |
getRocksDBProperty() |
static RocksDBProperty |
valueOf(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.
|
public static final RocksDBProperty NumImmutableMemTable
public static final RocksDBProperty MemTableFlushPending
public static final RocksDBProperty CompactionPending
public static final RocksDBProperty BackgroundErrors
public static final RocksDBProperty CurSizeActiveMemTable
public static final RocksDBProperty CurSizeAllMemTables
public static final RocksDBProperty SizeAllMemTables
public static final RocksDBProperty NumEntriesActiveMemTable
public static final RocksDBProperty NumEntriesImmMemTables
public static final RocksDBProperty NumDeletesActiveMemTable
public static final RocksDBProperty NumDeletesImmMemTables
public static final RocksDBProperty EstimateNumKeys
public static final RocksDBProperty EstimateTableReadersMem
public static final RocksDBProperty NumSnapshots
public static final RocksDBProperty NumLiveVersions
public static final RocksDBProperty EstimateLiveDataSize
public static final RocksDBProperty TotalSstFilesSize
public static final RocksDBProperty LiveSstFilesSize
public static final RocksDBProperty EstimatePendingCompactionBytes
public static final RocksDBProperty NumRunningCompactions
public static final RocksDBProperty NumRunningFlushes
public static final RocksDBProperty ActualDelayedWriteRate
public static final RocksDBProperty IsWriteStopped
public static final RocksDBProperty BlockCacheCapacity
public static final RocksDBProperty BlockCacheUsage
public static final RocksDBProperty BlockCachePinnedUsage
public static RocksDBProperty[] values()
for (RocksDBProperty c : RocksDBProperty.values()) System.out.println(c);
public static RocksDBProperty valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getRocksDBProperty()
RocksDB.getLongProperty(ColumnFamilyHandle, String)
.public String getConfigKey()
Configuration
.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.