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