public class CompactionMetrics extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
CompactionMetrics.Reporter
Report metrics value to the
CompactionMetrics object. |
Modifier and Type | Field and Description |
---|---|
static String |
AVG_COMPACTION_INPUT_SIZE |
static String |
AVG_COMPACTION_OUTPUT_SIZE |
static String |
AVG_COMPACTION_TIME |
static String |
AVG_LEVEL0_FILE_COUNT |
static String |
COMPACTION_COMPLETED_COUNT |
static String |
COMPACTION_QUEUED_COUNT |
static String |
COMPACTION_THREAD_BUSY |
static String |
MAX_COMPACTION_INPUT_SIZE |
static String |
MAX_COMPACTION_OUTPUT_SIZE |
static String |
MAX_LEVEL0_FILE_COUNT |
Constructor and Description |
---|
CompactionMetrics(MetricRegistry registry,
String tableName) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
CompactionMetrics.Reporter |
createReporter(BinaryRow partition,
int bucket) |
MetricGroup |
getMetricGroup() |
public static final String MAX_LEVEL0_FILE_COUNT
public static final String AVG_LEVEL0_FILE_COUNT
public static final String COMPACTION_THREAD_BUSY
public static final String AVG_COMPACTION_TIME
public static final String COMPACTION_COMPLETED_COUNT
public static final String COMPACTION_QUEUED_COUNT
public static final String MAX_COMPACTION_INPUT_SIZE
public static final String MAX_COMPACTION_OUTPUT_SIZE
public static final String AVG_COMPACTION_INPUT_SIZE
public static final String AVG_COMPACTION_OUTPUT_SIZE
public CompactionMetrics(MetricRegistry registry, String tableName)
@VisibleForTesting public MetricGroup getMetricGroup()
public void close()
public CompactionMetrics.Reporter createReporter(BinaryRow partition, int bucket)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.