Interface MetricsRegionSource
- All Superinterfaces:
Comparable<MetricsRegionSource>
- All Known Implementing Classes:
MetricsRegionSourceImpl
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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the region's metrics as this region is closing.Get the aggregate source to which this reports.voidUpdate related counts of appends.voidUpdate related counts of deletes.voidupdateGet(long mills) Update time of getsvoidUpdate related counts of increments.voidUpdate related counts of puts.voidupdateScanTime(long mills) Update time used of resultScanner.next().Methods inherited from interface java.lang.Comparable
compareTo
-
Field Details
-
OPS_SAMPLE_NAME
- See Also:
-
SIZE_VALUE_NAME
- See Also:
-
COMPACTIONS_COMPLETED_COUNT
- See Also:
-
COMPACTIONS_FAILED_COUNT
- See Also:
-
LAST_MAJOR_COMPACTION_AGE
- See Also:
-
COMPACTIONS_QUEUED_COUNT
- See Also:
-
MAX_COMPACTION_QUEUE_SIZE
- See Also:
-
NUM_BYTES_COMPACTED_COUNT
- See Also:
-
NUM_FILES_COMPACTED_COUNT
- See Also:
-
FLUSHES_QUEUED_COUNT
- See Also:
-
MAX_FLUSH_QUEUE_SIZE
- See Also:
-
COMPACTIONS_COMPLETED_DESC
- See Also:
-
COMPACTIONS_FAILED_DESC
- See Also:
-
LAST_MAJOR_COMPACTION_DESC
- See Also:
-
COMPACTIONS_QUEUED_DESC
- See Also:
-
MAX_COMPACTION_QUEUE_DESC
- See Also:
-
FLUSHES_QUEUED_DESC
- See Also:
-
MAX_FLUSH_QUEUE_DESC
- See Also:
-
NUM_BYTES_COMPACTED_DESC
- See Also:
-
NUM_FILES_COMPACTED_DESC
- See Also:
-
COPROCESSOR_EXECUTION_STATISTICS
- See Also:
-
COPROCESSOR_EXECUTION_STATISTICS_DESC
- See Also:
-
REPLICA_ID
- See Also:
-
REPLICA_ID_DESC
- See Also:
-
ROW_READS_ONLY_ON_MEMSTORE
- See Also:
-
ROW_READS_ONLY_ON_MEMSTORE_DESC
- See Also:
-
MIXED_ROW_READS
- See Also:
-
MIXED_ROW_READS_ON_STORE_DESC
- See Also:
-
-
Method Details
-
close
void close()Close the region's metrics as this region is closing. -
updatePut
void updatePut()Update related counts of puts. -
updateDelete
void updateDelete()Update related counts of deletes. -
updateGet
Update time of gets- Parameters:
mills- time for this get operation.
-
updateScanTime
Update time used of resultScanner.next(). -
updateIncrement
void updateIncrement()Update related counts of increments. -
updateAppend
void updateAppend()Update related counts of appends. -
getAggregateSource
Get the aggregate source to which this reports.
-