@InterfaceAudience.Private public interface MetricsRegionSource extends Comparable<MetricsRegionSource>
Modifier and Type | Field and Description |
---|---|
static String |
COMPACTIONS_COMPLETED_COUNT |
static String |
COMPACTIONS_COMPLETED_DESC |
static String |
COMPACTIONS_FAILED_COUNT |
static String |
COMPACTIONS_FAILED_DESC |
static String |
COMPACTIONS_QUEUED_COUNT |
static String |
COMPACTIONS_QUEUED_DESC |
static String |
COPROCESSOR_EXECUTION_STATISTICS |
static String |
COPROCESSOR_EXECUTION_STATISTICS_DESC |
static String |
FLUSHES_QUEUED_COUNT |
static String |
FLUSHES_QUEUED_DESC |
static String |
LAST_MAJOR_COMPACTION_AGE |
static String |
LAST_MAJOR_COMPACTION_DESC |
static String |
MAX_COMPACTION_QUEUE_DESC |
static String |
MAX_COMPACTION_QUEUE_SIZE |
static String |
MAX_FLUSH_QUEUE_DESC |
static String |
MAX_FLUSH_QUEUE_SIZE |
static String |
NUM_BYTES_COMPACTED_COUNT |
static String |
NUM_BYTES_COMPACTED_DESC |
static String |
NUM_FILES_COMPACTED_COUNT |
static String |
NUM_FILES_COMPACTED_DESC |
static String |
OPS_SAMPLE_NAME |
static String |
REPLICA_ID |
static String |
REPLICA_ID_DESC |
static String |
SIZE_VALUE_NAME |
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
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–2019 The Apache Software Foundation. All rights reserved.