Package org.apache.flink.state.forst
Class ForStNativeMetricMonitor
java.lang.Object
org.apache.flink.state.forst.ForStNativeMetricMonitor
- All Implemented Interfaces:
Closeable,AutoCloseable
A monitor which pulls {
RocksDB} native metrics and forwards them to Flink's metric group.
All metrics are unsigned longs and are reported at the column family level.-
Constructor Summary
ConstructorsConstructorDescriptionForStNativeMetricMonitor(ForStNativeMetricOptions options, org.apache.flink.metrics.MetricGroup metricGroup, org.forstdb.RocksDB rocksDB, org.forstdb.Statistics statistics) -
Method Summary
-
Constructor Details
-
ForStNativeMetricMonitor
public ForStNativeMetricMonitor(@Nonnull ForStNativeMetricOptions options, @Nonnull org.apache.flink.metrics.MetricGroup metricGroup, @Nonnull org.forstdb.RocksDB rocksDB, @Nullable org.forstdb.Statistics statistics)
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-