Package | Description |
---|---|
org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
org.apache.hadoop.hbase.metrics |
Metrics API for HBase.
|
org.apache.hadoop.hbase.metrics.impl |
Implementation of the HBase Metrics framework.
|
Modifier and Type | Method and Description |
---|---|
static MetricRegistry |
MetricsCoprocessor.createRegistryForMasterCoprocessor(String clazz) |
static MetricRegistry |
MetricsCoprocessor.createRegistryForRegionCoprocessor(String clazz) |
static MetricRegistry |
MetricsCoprocessor.createRegistryForRSCoprocessor(String clazz) |
static MetricRegistry |
MetricsCoprocessor.createRegistryForWALCoprocessor(String clazz) |
MetricRegistry |
MasterCoprocessorEnvironment.getMetricRegistryForMaster()
Returns a MetricRegistry that can be used to track metrics at the master level.
|
MetricRegistry |
RegionServerCoprocessorEnvironment.getMetricRegistryForRegionServer()
Returns a MetricRegistry that can be used to track metrics at the region server level.
|
MetricRegistry |
WALCoprocessorEnvironment.getMetricRegistryForRegionServer()
Returns a MetricRegistry that can be used to track metrics at the region server level.
|
MetricRegistry |
RegionCoprocessorEnvironment.getMetricRegistryForRegionServer()
Returns a MetricRegistry that can be used to track metrics at the region server level.
|
Modifier and Type | Method and Description |
---|---|
static void |
MetricsCoprocessor.removeRegistry(MetricRegistry registry) |
Modifier and Type | Field and Description |
---|---|
protected MetricRegistry |
BaseSourceImpl.registry
Note that there are at least 4 MetricRegistry definitions in the source code.
|
Modifier and Type | Method and Description |
---|---|
MetricRegistry |
MetricRegistryFactory.create(MetricRegistryInfo info)
Create a MetricRegistry from the given MetricRegistryInfo
|
abstract MetricRegistry |
MetricRegistries.create(MetricRegistryInfo info)
Create or return MetricRegistry with the given info.
|
Modifier and Type | Method and Description |
---|---|
abstract Optional<MetricRegistry> |
MetricRegistries.get(MetricRegistryInfo info)
Returns the MetricRegistry if found.
|
abstract Collection<MetricRegistry> |
MetricRegistries.getMetricRegistries()
Returns MetricRegistry's created.
|
Constructor and Description |
---|
OperationMetrics(MetricRegistry registry,
String metricNamePrefix) |
Modifier and Type | Class and Description |
---|---|
class |
MetricRegistryImpl
Custom implementation of
MetricRegistry . |
Modifier and Type | Method and Description |
---|---|
MetricRegistry |
MetricRegistryFactoryImpl.create(MetricRegistryInfo info) |
MetricRegistry |
MetricRegistriesImpl.create(MetricRegistryInfo info) |
Modifier and Type | Method and Description |
---|---|
Optional<MetricRegistry> |
MetricRegistriesImpl.get(MetricRegistryInfo info) |
Collection<MetricRegistry> |
MetricRegistriesImpl.getMetricRegistries() |
Modifier and Type | Method and Description |
---|---|
void |
HBaseMetrics2HadoopMetricsAdapter.snapshotAllMetrics(MetricRegistry metricRegistry,
org.apache.hadoop.metrics2.MetricsCollector collector)
Iterates over the MetricRegistry and adds them to the
collector . |
void |
HBaseMetrics2HadoopMetricsAdapter.snapshotAllMetrics(MetricRegistry metricRegistry,
org.apache.hadoop.metrics2.MetricsRecordBuilder builder)
Iterates over the MetricRegistry and adds them to the
builder . |
Copyright © 2007–2019 Cloudera. All rights reserved.