public static class TestCoprocessorMetrics.CustomWALObserver extends Object implements WALCoprocessor, WALObserver
Coprocessor.StatePRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION| Constructor and Description |
|---|
CustomWALObserver() |
| Modifier and Type | Method and Description |
|---|---|
Optional<WALObserver> |
getWALObserver() |
void |
postWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx,
RegionInfo info,
WALKey logKey,
WALEdit logEdit) |
void |
start(CoprocessorEnvironment env) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServices, stoppostWALRoll, preWALRoll, preWALWritepublic CustomWALObserver()
public void postWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx, RegionInfo info, WALKey logKey, WALEdit logEdit) throws IOException
postWALWrite in interface WALObserverIOExceptionpublic void start(CoprocessorEnvironment env) throws IOException
start in interface CoprocessorIOExceptionpublic Optional<WALObserver> getWALObserver()
getWALObserver in interface WALCoprocessorCopyright © 2007–2019 Cloudera. All rights reserved.