Class MetricsRegionSourceImpl
java.lang.Object
org.apache.hadoop.hbase.regionserver.MetricsRegionSourceImpl
- All Implemented Interfaces:
Comparable<MetricsRegionSource>,MetricsRegionSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate final MetricsRegionAggregateSourceImplprivate AtomicBooleanprivate final intprivate static final org.slf4j.Loggerprivate final MutableFastCounterprivate final Stringprivate final MutableFastCounterprivate final Stringprivate final MutableFastCounterprivate final Stringprivate final MutableFastCounterprivate final Stringprivate final Stringprivate final Stringprivate final Stringprivate final MutableFastCounterprivate final Stringprivate final MutableFastCounterprivate final Stringprivate MetricsRegionWrapperprivate final DynamicMetricsRegistryFields inherited from interface org.apache.hadoop.hbase.regionserver.MetricsRegionSource
COMPACTIONS_COMPLETED_COUNT, COMPACTIONS_COMPLETED_DESC, COMPACTIONS_FAILED_COUNT, COMPACTIONS_FAILED_DESC, COMPACTIONS_QUEUED_COUNT, COMPACTIONS_QUEUED_DESC, COPROCESSOR_EXECUTION_STATISTICS, COPROCESSOR_EXECUTION_STATISTICS_DESC, FLUSHES_QUEUED_COUNT, FLUSHES_QUEUED_DESC, LAST_MAJOR_COMPACTION_AGE, LAST_MAJOR_COMPACTION_DESC, MAX_COMPACTION_QUEUE_DESC, MAX_COMPACTION_QUEUE_SIZE, MAX_FLUSH_QUEUE_DESC, MAX_FLUSH_QUEUE_SIZE, MIXED_ROW_READS, MIXED_ROW_READS_ON_STORE_DESC, NUM_BYTES_COMPACTED_COUNT, NUM_BYTES_COMPACTED_DESC, NUM_FILES_COMPACTED_COUNT, NUM_FILES_COMPACTED_DESC, OPS_SAMPLE_NAME, REPLICA_ID, REPLICA_ID_DESC, ROW_READS_ONLY_ON_MEMSTORE, ROW_READS_ONLY_ON_MEMSTORE_DESC, SIZE_VALUE_NAME -
Constructor Summary
ConstructorsConstructorDescriptionMetricsRegionSourceImpl(MetricsRegionWrapper regionWrapper, MetricsRegionAggregateSourceImpl aggregate) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddCounter(org.apache.hadoop.metrics2.MetricsRecordBuilder mrb, Map<String, Long> metricMap, String metricName, String metricDesc) voidclose()Close the region's metrics as this region is closing.intcompareTo(MetricsRegionSource source) booleanGet the aggregate source to which this reports.inthashCode()(package private) voidsnapshot(org.apache.hadoop.metrics2.MetricsRecordBuilder mrb, boolean ignored) 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().
-
Field Details
-
LOG
-
_STORE
- See Also:
-
closed
-
regionWrapper
-
agg
-
registry
-
regionNamePrefix
-
regionNamePrefix1
-
regionNamePrefix2
-
regionPutKey
-
regionDeleteKey
-
regionGetKey
-
regionIncrementKey
-
regionAppendKey
-
regionScanKey
-
regionPut
-
regionDelete
-
regionIncrement
-
regionAppend
-
regionGet
-
regionScan
-
hashCode
-
-
Constructor Details
-
MetricsRegionSourceImpl
public MetricsRegionSourceImpl(MetricsRegionWrapper regionWrapper, MetricsRegionAggregateSourceImpl aggregate)
-
-
Method Details
-
close
Description copied from interface:MetricsRegionSourceClose the region's metrics as this region is closing.- Specified by:
closein interfaceMetricsRegionSource
-
updatePut
Description copied from interface:MetricsRegionSourceUpdate related counts of puts.- Specified by:
updatePutin interfaceMetricsRegionSource
-
updateDelete
Description copied from interface:MetricsRegionSourceUpdate related counts of deletes.- Specified by:
updateDeletein interfaceMetricsRegionSource
-
updateGet
Description copied from interface:MetricsRegionSourceUpdate time of gets- Specified by:
updateGetin interfaceMetricsRegionSource- Parameters:
mills- time for this get operation.
-
updateScanTime
Description copied from interface:MetricsRegionSourceUpdate time used of resultScanner.next().- Specified by:
updateScanTimein interfaceMetricsRegionSource
-
updateIncrement
Description copied from interface:MetricsRegionSourceUpdate related counts of increments.- Specified by:
updateIncrementin interfaceMetricsRegionSource
-
updateAppend
Description copied from interface:MetricsRegionSourceUpdate related counts of appends.- Specified by:
updateAppendin interfaceMetricsRegionSource
-
getAggregateSource
Description copied from interface:MetricsRegionSourceGet the aggregate source to which this reports.- Specified by:
getAggregateSourcein interfaceMetricsRegionSource
-
compareTo
- Specified by:
compareToin interfaceComparable<MetricsRegionSource>
-
snapshot
-
addCounter
-
hashCode
-
equals
-