public static class TestCoprocessorMetrics.CustomRegionServerObserver extends Object implements RegionServerCoprocessor, RegionServerObserver
Coprocessor.StatePRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION| Constructor and Description |
|---|
CustomRegionServerObserver() |
| Modifier and Type | Method and Description |
|---|---|
Optional<RegionServerObserver> |
getRegionServerObserver() |
void |
postRollWALWriterRequest(ObserverContext<RegionServerCoprocessorEnvironment> ctx) |
void |
start(CoprocessorEnvironment env) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServices, stoppostClearCompactionQueues, postCreateReplicationEndPoint, postExecuteProcedures, postReplicateLogEntries, preClearCompactionQueues, preExecuteProcedures, preReplicateLogEntries, preRollWALWriterRequest, preStopRegionServerpublic CustomRegionServerObserver()
public Optional<RegionServerObserver> getRegionServerObserver()
getRegionServerObserver in interface RegionServerCoprocessorpublic void postRollWALWriterRequest(ObserverContext<RegionServerCoprocessorEnvironment> ctx) throws IOException
postRollWALWriterRequest in interface RegionServerObserverIOExceptionpublic void start(CoprocessorEnvironment env) throws IOException
start in interface CoprocessorIOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.