@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.
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getConfigKey() |
String |
getRocksDBProperty() |
static RocksDBProperty |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RocksDBProperty[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 EstimatePendingCompactionBytes
public static final RocksDBProperty NumRunningCompactions
public static final RocksDBProperty NumRunningFlushes
public static final RocksDBProperty ActualDelayedWriteRate
public static RocksDBProperty[] values()
for (RocksDBProperty c : RocksDBProperty.values()) System.out.println(c);
public static RocksDBProperty valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getRocksDBProperty()
RocksDB.getLongProperty(ColumnFamilyHandle, String).public String getConfigKey()
Configuration.Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.