public interface RegionServerCoprocessorEnvironment extends CoprocessorEnvironment
Modifier and Type | Method and Description |
---|---|
MetricRegistry |
getMetricRegistryForRegionServer()
Returns a MetricRegistry that can be used to track metrics at the region server level.
|
RegionServerServices |
getRegionServerServices()
Gets the region server services.
|
getClassLoader, getConfiguration, getHBaseVersion, getInstance, getLoadSequence, getPriority, getTable, getTable, getVersion
RegionServerServices getRegionServerServices()
MetricRegistry getMetricRegistryForRegionServer()
See ExampleMasterObserverWithMetrics class in the hbase-examples modules for examples of how metrics can be instantiated and used.
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.