@InterfaceAudience.Private public class MetaTableMetrics extends Object implements RegionCoprocessor
These metrics will be available through the regular Hadoop metrics2 sinks (ganglia, opentsdb, etc) as well as JMX output.
MetaTableMetrics| Modifier and Type | Class and Description | 
|---|---|
| (package private) class  | MetaTableMetrics.ExampleRegionObserverMeta | 
| (package private) static class  | MetaTableMetrics.MetaTableOps | 
Coprocessor.State| Modifier and Type | Field and Description | 
|---|---|
| private boolean | active | 
| private LossyCounting | clientMetricsLossyCounting | 
| private MetaTableMetrics.ExampleRegionObserverMeta | observer | 
| private org.apache.hbase.thirdparty.com.google.common.collect.ImmutableMap<Class,MetaTableMetrics.MetaTableOps> | opsNameMap | 
| private RegionCoprocessorEnvironment | regionCoprocessorEnv | 
| private Map<String,Optional<Metric>> | requestsMap | 
PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION| Constructor and Description | 
|---|
| MetaTableMetrics() | 
| Modifier and Type | Method and Description | 
|---|---|
| Optional<RegionObserver> | getRegionObserver() | 
| void | start(CoprocessorEnvironment env)Called by the  CoprocessorEnvironmentduring it's own startup to initialize the
 coprocessor. | 
| void | stop(CoprocessorEnvironment env)Called by the  CoprocessorEnvironmentduring it's own shutdown to stop the
 coprocessor. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBulkLoadObserver, getEndpointObservergetServicesprivate MetaTableMetrics.ExampleRegionObserverMeta observer
private Map<String,Optional<Metric>> requestsMap
private RegionCoprocessorEnvironment regionCoprocessorEnv
private LossyCounting clientMetricsLossyCounting
private boolean active
private org.apache.hbase.thirdparty.com.google.common.collect.ImmutableMap<Class,MetaTableMetrics.MetaTableOps> opsNameMap
public MetaTableMetrics()
public Optional<RegionObserver> getRegionObserver()
getRegionObserver in interface RegionCoprocessorpublic void start(CoprocessorEnvironment env) throws IOException
CoprocessorCoprocessorEnvironment during it's own startup to initialize the
 coprocessor.start in interface CoprocessorIOExceptionpublic void stop(CoprocessorEnvironment env) throws IOException
CoprocessorCoprocessorEnvironment during it's own shutdown to stop the
 coprocessor.stop in interface CoprocessorIOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.