public static class TestCoprocessorMetrics.CustomRegionServerObserver extends Object implements org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessor, org.apache.hadoop.hbase.coprocessor.RegionServerObserver
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.metrics.Counter |
rollWALCounter
This is the Counter metric object to keep track of the current count across invocations
|
Constructor and Description |
---|
CustomRegionServerObserver() |
Modifier and Type | Method and Description |
---|---|
Optional<org.apache.hadoop.hbase.coprocessor.RegionServerObserver> |
getRegionServerObserver() |
void |
postRollWALWriterRequest(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment> ctx) |
void |
start(org.apache.hadoop.hbase.CoprocessorEnvironment env) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postClearCompactionQueues, postCreateReplicationEndPoint, postExecuteProcedures, postReplicateLogEntries, preClearCompactionQueues, preExecuteProcedures, preReplicateLogEntries, preRollWALWriterRequest, preStopRegionServer
private org.apache.hadoop.hbase.metrics.Counter rollWALCounter
public CustomRegionServerObserver()
public Optional<org.apache.hadoop.hbase.coprocessor.RegionServerObserver> getRegionServerObserver()
getRegionServerObserver
in interface org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessor
public void postRollWALWriterRequest(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment> ctx) throws IOException
postRollWALWriterRequest
in interface org.apache.hadoop.hbase.coprocessor.RegionServerObserver
IOException
public void start(org.apache.hadoop.hbase.CoprocessorEnvironment env) throws IOException
start
in interface org.apache.hadoop.hbase.Coprocessor
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.