Package org.apache.hadoop.hbase.io
Interface MetricsIOSource
- All Superinterfaces:
BaseSource
- All Known Implementing Classes:
MetricsIOSourceImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThe name of the metrics context that metrics will be under.static final StringDescriptionstatic final StringThe name of the metrics context that metrics will be under in jmxstatic final StringThe name of the metricsstatic final Stringstatic final StringFields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
HBASE_METRICS_SYSTEM_NAME -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidupdateFsPReadTime(long t) Update the fs positional read time histogramvoidupdateFsReadTime(long t) Update the fs sequential read time histogramvoidupdateFsWriteTime(long t) Update the fs write time histogramMethods inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram
-
Field Details
-
METRICS_NAME
The name of the metrics- See Also:
-
METRICS_CONTEXT
The name of the metrics context that metrics will be under.- See Also:
-
METRICS_DESCRIPTION
Description- See Also:
-
METRICS_JMX_CONTEXT
The name of the metrics context that metrics will be under in jmx- See Also:
-
FS_READ_TIME_HISTO_KEY
- See Also:
-
FS_PREAD_TIME_HISTO_KEY
- See Also:
-
FS_WRITE_HISTO_KEY
- See Also:
-
SLOW_FS_READS_KEY
- See Also:
-
SLOW_FS_READS_DESC
- See Also:
-
CHECKSUM_FAILURES_KEY
- See Also:
-
FS_READ_TIME_HISTO_DESC
- See Also:
-
FS_PREAD_TIME_HISTO_DESC
- See Also:
-
FS_WRITE_TIME_HISTO_DESC
- See Also:
-
CHECKSUM_FAILURES_DESC
- See Also:
-
-
Method Details
-
updateFsReadTime
Update the fs sequential read time histogram- Parameters:
t- time it took, in milliseconds
-
updateFsPReadTime
Update the fs positional read time histogram- Parameters:
t- time it took, in milliseconds
-
updateFsWriteTime
Update the fs write time histogram- Parameters:
t- time it took, in milliseconds
-
incrSlowFsRead
void incrSlowFsRead()
-