Interface WALCoprocessorEnvironment
- All Superinterfaces:
CoprocessorEnvironment<WALCoprocessor>
- All Known Implementing Classes:
WALCoprocessorHost.WALEnvironment
@LimitedPrivate("Coprocesssor")
@Evolving
public interface WALCoprocessorEnvironment
extends CoprocessorEnvironment<WALCoprocessor>
-
Method Summary
Modifier and TypeMethodDescriptionReturns a MetricRegistry that can be used to track metrics at the region server level.getWAL()Returns reference to the region server's WALMethods inherited from interface org.apache.hadoop.hbase.CoprocessorEnvironment
getClassLoader, getConfiguration, getHBaseVersion, getInstance, getLoadSequence, getPriority, getVersion
-
Method Details
-
getWAL
Returns reference to the region server's WAL -
getMetricRegistryForRegionServer
Returns a MetricRegistry that can be used to track metrics at the region server level.See ExampleRegionServerObserverWithMetrics class in the hbase-examples modules for examples of how metrics can be instantiated and used.
- Returns:
- A MetricRegistry for the coprocessor class to track and export metrics.
-