| Package | Description |
|---|---|
| org.apache.hadoop.hbase.metrics |
Metrics API for HBase.
|
| org.apache.hadoop.hbase.metrics.impl |
Implementation of the HBase Metrics framework.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Counter
A mutable number optimized for high concurrency counting.
|
interface |
Gauge<T>
A metrics which measures a discrete value.
|
interface |
Histogram
A metric which measures the distribution of values.
|
interface |
Meter
A metric which measure the rate at which some operation is invoked.
|
interface |
MetricRegistry
General purpose factory for creating various metrics.
|
interface |
MetricSet
A set of named metrics.
|
interface |
Timer
|
| Modifier and Type | Method and Description |
|---|---|
Metric |
MetricRegistry.register(String name,
Metric metric)
Registers the
Metric with the given name if there does not exist one with the same
name. |
| Modifier and Type | Method and Description |
|---|---|
Optional<Metric> |
MetricRegistry.get(String name)
Returns previously registered metric with the name if any.
|
Map<String,Metric> |
MetricSet.getMetrics()
A map of metric names to metrics.
|
| Modifier and Type | Method and Description |
|---|---|
Metric |
MetricRegistry.register(String name,
Metric metric)
Registers the
Metric with the given name if there does not exist one with the same
name. |
| Modifier and Type | Class and Description |
|---|---|
class |
CounterImpl
Custom implementation of
Counter using LongAdder. |
class |
DropwizardMeter
Dropwizard metrics implementation of
Meter. |
class |
HistogramImpl
Custom histogram implementation based on FastLongHistogram.
|
class |
MetricRegistryImpl
Custom implementation of
MetricRegistry. |
class |
TimerImpl
Custom implementation of
Timer. |
| Modifier and Type | Field and Description |
|---|---|
private ConcurrentMap<String,Metric> |
MetricRegistryImpl.metrics |
| Modifier and Type | Method and Description |
|---|---|
Metric |
MetricRegistryImpl.register(String name,
Metric metric) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Metric> |
MetricRegistryImpl.get(String name) |
Map<String,Metric> |
MetricRegistryImpl.getMetrics() |
| Modifier and Type | Method and Description |
|---|---|
Metric |
MetricRegistryImpl.register(String name,
Metric metric) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.