|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetricsRegionSource
This interface will be implemented to allow single regions to push metrics into MetricsRegionAggregateSource that will in turn push data to the Hadoop metrics system.
Field Summary | |
---|---|
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
|
Method Summary | |
---|---|
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() |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
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
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |