@InterfaceAudience.Private public interface MetricsRegionSource extends Comparable<MetricsRegionSource>
| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 限定符和类型 | 方法和说明 |
|---|---|
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().
|
compareTostatic final String COPROCESSOR_EXECUTION_STATISTICS_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.