Package org.apache.hadoop.hbase.io
Interface MetricsIOSource
- All Superinterfaces:
BaseSource
- All Known Implementing Classes:
MetricsIOSourceImpl
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
The name of the metrics context that metrics will be under.static final String
Descriptionstatic final String
The name of the metrics context that metrics will be under in jmxstatic final String
The name of the metricsstatic final String
static final String
Fields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
HBASE_METRICS_SYSTEM_NAME
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
updateFsPReadTime
(long t) Update the fs positional read time histogramvoid
updateFsReadTime
(long t) Update the fs sequential read time histogramvoid
updateFsWriteTime
(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()
-