Package org.apache.flink.state.forst
Enum ForStProperty
- All Implemented Interfaces:
Serializable,Comparable<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.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionlonggetNumericalPropertyValue(org.forstdb.RocksDB rocksDB, org.forstdb.ColumnFamilyHandle handle) static ForStPropertyReturns 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.
-
Enum Constant Details
-
NumImmutableMemTable
-
MemTableFlushPending
-
CompactionPending
-
BackgroundErrors
-
CurSizeActiveMemTable
-
CurSizeAllMemTables
-
SizeAllMemTables
-
NumEntriesActiveMemTable
-
NumEntriesImmMemTables
-
NumDeletesActiveMemTable
-
NumDeletesImmMemTables
-
EstimateNumKeys
-
EstimateTableReadersMem
-
NumSnapshots
-
NumLiveVersions
-
EstimateLiveDataSize
-
TotalSstFilesSize
-
LiveSstFilesSize
-
EstimatePendingCompactionBytes
-
NumRunningCompactions
-
NumRunningFlushes
-
ActualDelayedWriteRate
-
IsWriteStopped
-
BlockCacheCapacity
-
BlockCacheUsage
-
BlockCachePinnedUsage
-
NumFilesAtLevel0
-
NumFilesAtLevel1
-
NumFilesAtLevel2
-
NumFilesAtLevel3
-
NumFilesAtLevel4
-
NumFilesAtLevel5
-
NumFilesAtLevel6
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getForStProperty
- Returns:
- property string that can be used to query
RocksDB.getLongProperty(ColumnFamilyHandle, String).
-
getNumericalPropertyValue
public long getNumericalPropertyValue(org.forstdb.RocksDB rocksDB, org.forstdb.ColumnFamilyHandle handle) throws Exception - Throws:
Exception
-
getConfigKey
- Returns:
- key for enabling metric using
Configuration.
-