@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving public interface RegionCoprocessorEnvironment 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.
|
Region |
getRegion() |
HRegionInfo |
getRegionInfo() |
RegionServerServices |
getRegionServerServices() |
ConcurrentMap<String,Object> |
getSharedData() |
getClassLoader, getConfiguration, getHBaseVersion, getInstance, getLoadSequence, getPriority, getTable, getTable, getVersion
Region getRegion()
HRegionInfo getRegionInfo()
RegionServerServices getRegionServerServices()
ConcurrentMap<String,Object> getSharedData()
MetricRegistry getMetricRegistryForRegionServer()
See ExampleRegionObserverWithMetrics class in the hbase-examples modules to see examples of how metrics can be instantiated and used.
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.