public interface MetricsRegionSource extends Comparable<MetricsRegionSource>
Modifier and Type | Field and Description |
---|---|
static String |
COMPACTIONS_COMPLETED_COUNT |
static String |
COMPACTIONS_COMPLETED_DESC |
static String |
COPROCESSOR_EXECUTION_STATISTICS |
static String |
COPROCESSOR_EXECUTION_STATISTICS_DESC |
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 |
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 getSize)
Update count and sizes of gets.
|
void |
updateIncrement()
Update related counts of increments.
|
void |
updatePut()
Update related counts of puts.
|
void |
updateScan(long scanSize)
Update the count and sizes 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 NUM_BYTES_COMPACTED_COUNT
static final String NUM_FILES_COMPACTED_COUNT
static final String COMPACTIONS_COMPLETED_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
void close()
void updatePut()
void updateDelete()
void updateGet(long getSize)
getSize
- size in bytes of the resulting key values for a getvoid updateScan(long scanSize)
scanSize
- Size in bytes of the resulting key values for a next()void updateIncrement()
void updateAppend()
MetricsRegionAggregateSource getAggregateSource()