Class FileMergingMetricGroup
- java.lang.Object
-
- org.apache.flink.runtime.metrics.groups.ProxyMetricGroup<MetricGroup>
-
- org.apache.flink.runtime.checkpoint.filemerging.FileMergingMetricGroup
-
- All Implemented Interfaces:
MetricGroup
@ThreadSafe public class FileMergingMetricGroup extends ProxyMetricGroup<MetricGroup>
Metrics related to the file merging snapshot manager. Thread-safety is required because it is used by multiple task threads.
-
-
Field Summary
Fields Modifier and Type Field Description static String
LOGICAL_FILE_COUNT
static String
LOGICAL_FILE_SIZE
static String
PHYSICAL_FILE_COUNT
static String
PHYSICAL_FILE_SIZE
-
Fields inherited from class org.apache.flink.runtime.metrics.groups.ProxyMetricGroup
parentMetricGroup
-
-
Constructor Summary
Constructors Constructor Description FileMergingMetricGroup(MetricGroup parentMetricGroup, FileMergingSnapshotManager.SpaceStat spaceStat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerMetrics(FileMergingSnapshotManager.SpaceStat spaceStat)
-
Methods inherited from class org.apache.flink.runtime.metrics.groups.ProxyMetricGroup
addGroup, addGroup, addSpan, counter, counter, gauge, getAllVariables, getMetricIdentifier, getMetricIdentifier, getScopeComponents, histogram, meter
-
-
-
-
Field Detail
-
LOGICAL_FILE_COUNT
@VisibleForTesting public static final String LOGICAL_FILE_COUNT
- See Also:
- Constant Field Values
-
LOGICAL_FILE_SIZE
@VisibleForTesting public static final String LOGICAL_FILE_SIZE
- See Also:
- Constant Field Values
-
PHYSICAL_FILE_COUNT
@VisibleForTesting public static final String PHYSICAL_FILE_COUNT
- See Also:
- Constant Field Values
-
PHYSICAL_FILE_SIZE
@VisibleForTesting public static final String PHYSICAL_FILE_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FileMergingMetricGroup
public FileMergingMetricGroup(MetricGroup parentMetricGroup, FileMergingSnapshotManager.SpaceStat spaceStat)
-
-
Method Detail
-
registerMetrics
public void registerMetrics(FileMergingSnapshotManager.SpaceStat spaceStat)
-
-