@Internal public enum ForStProperty extends Enum<ForStProperty>
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 |
getForStProperty() |
long |
getNumericalPropertyValue(org.rocksdb.RocksDB rocksDB,
org.rocksdb.ColumnFamilyHandle handle) |
static ForStProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForStProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForStProperty NumImmutableMemTable
public static final ForStProperty MemTableFlushPending
public static final ForStProperty CompactionPending
public static final ForStProperty BackgroundErrors
public static final ForStProperty CurSizeActiveMemTable
public static final ForStProperty CurSizeAllMemTables
public static final ForStProperty SizeAllMemTables
public static final ForStProperty NumEntriesActiveMemTable
public static final ForStProperty NumEntriesImmMemTables
public static final ForStProperty NumDeletesActiveMemTable
public static final ForStProperty NumDeletesImmMemTables
public static final ForStProperty EstimateNumKeys
public static final ForStProperty EstimateTableReadersMem
public static final ForStProperty NumSnapshots
public static final ForStProperty NumLiveVersions
public static final ForStProperty EstimateLiveDataSize
public static final ForStProperty TotalSstFilesSize
public static final ForStProperty LiveSstFilesSize
public static final ForStProperty EstimatePendingCompactionBytes
public static final ForStProperty NumRunningCompactions
public static final ForStProperty NumRunningFlushes
public static final ForStProperty ActualDelayedWriteRate
public static final ForStProperty IsWriteStopped
public static final ForStProperty BlockCacheCapacity
public static final ForStProperty BlockCacheUsage
public static final ForStProperty BlockCachePinnedUsage
public static final ForStProperty NumFilesAtLevel0
public static final ForStProperty NumFilesAtLevel1
public static final ForStProperty NumFilesAtLevel2
public static final ForStProperty NumFilesAtLevel3
public static final ForStProperty NumFilesAtLevel4
public static final ForStProperty NumFilesAtLevel5
public static final ForStProperty NumFilesAtLevel6
public static ForStProperty[] values()
for (ForStProperty c : ForStProperty.values()) System.out.println(c);
public static ForStProperty 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 getForStProperty()
RocksDB.getLongProperty(ColumnFamilyHandle, String)
.public long getNumericalPropertyValue(org.rocksdb.RocksDB rocksDB, org.rocksdb.ColumnFamilyHandle handle) throws Exception
Exception
public String getConfigKey()
Configuration
.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.