@InterfaceAudience.Private public interface MetricsRegionSource extends Comparable<MetricsRegionSource>
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the region's metrics as this region is closing.
|
MetricsRegionAggregateSource |
getAggregateSource()
Get the aggregate source to which this reports.
|
void |
updateAppend()
Update related counts of appends.
|
void |
updateDelete()
Update related counts of deletes.
|
void |
updateGet(long mills)
Update time of gets
|
void |
updateIncrement()
Update related counts of increments.
|
void |
updatePut()
Update related counts of puts.
|
void |
updateScanTime(long mills)
Update time used of resultScanner.next().
|
compareTo
static final String OPS_SAMPLE_NAME
static final String SIZE_VALUE_NAME
static final String COMPACTIONS_COMPLETED_COUNT
static final String COMPACTIONS_FAILED_COUNT
static final String LAST_MAJOR_COMPACTION_AGE
static final String COMPACTIONS_QUEUED_COUNT
static final String MAX_COMPACTION_QUEUE_SIZE
static final String NUM_BYTES_COMPACTED_COUNT
static final String NUM_FILES_COMPACTED_COUNT
static final String FLUSHES_QUEUED_COUNT
static final String MAX_FLUSH_QUEUE_SIZE
static final String COMPACTIONS_COMPLETED_DESC
static final String COMPACTIONS_FAILED_DESC
static final String LAST_MAJOR_COMPACTION_DESC
static final String COMPACTIONS_QUEUED_DESC
static final String MAX_COMPACTION_QUEUE_DESC
static final String FLUSHES_QUEUED_DESC
static final String MAX_FLUSH_QUEUE_DESC
static final String NUM_BYTES_COMPACTED_DESC
static final String NUM_FILES_COMPACTED_DESC
static final String COPROCESSOR_EXECUTION_STATISTICS
static final String COPROCESSOR_EXECUTION_STATISTICS_DESC
static final String REPLICA_ID
static final String REPLICA_ID_DESC
static final String ROW_READS_ONLY_ON_MEMSTORE
static final String ROW_READS_ONLY_ON_MEMSTORE_DESC
static final String MIXED_ROW_READS
static final String MIXED_ROW_READS_ON_STORE_DESC
void close()
void updatePut()
void updateDelete()
void updateGet(long mills)
mills
- time for this get operation.void updateScanTime(long mills)
void updateIncrement()
void updateAppend()
MetricsRegionAggregateSource getAggregateSource()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.