Class TestRegionObserverForAddingMutationsFromCoprocessors.TestWALObserver
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestRegionObserverForAddingMutationsFromCoprocessors.TestWALObserver
- All Implemented Interfaces:
org.apache.hadoop.hbase.Coprocessor,org.apache.hadoop.hbase.coprocessor.WALCoprocessor,org.apache.hadoop.hbase.coprocessor.WALObserver
- Enclosing class:
- TestRegionObserverForAddingMutationsFromCoprocessors
public static class TestRegionObserverForAddingMutationsFromCoprocessors.TestWALObserver
extends Object
implements org.apache.hadoop.hbase.coprocessor.WALCoprocessor, org.apache.hadoop.hbase.coprocessor.WALObserver
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.Coprocessor
org.apache.hadoop.hbase.Coprocessor.State -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static org.apache.hadoop.hbase.wal.WALEditFields inherited from interface org.apache.hadoop.hbase.Coprocessor
PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.apache.hadoop.hbase.coprocessor.WALObserver>voidpostWALWrite(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.WALCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.Coprocessor
getServices, start, stopMethods inherited from interface org.apache.hadoop.hbase.coprocessor.WALObserver
postWALRoll, preWALRoll, preWALWrite
-
Field Details
-
savedEdit
-
-
Constructor Details
-
TestWALObserver
public TestWALObserver()
-
-
Method Details
-
getWALObserver
- Specified by:
getWALObserverin interfaceorg.apache.hadoop.hbase.coprocessor.WALCoprocessor
-
postWALWrite
public void postWALWrite(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.WALCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) throws IOException - Specified by:
postWALWritein interfaceorg.apache.hadoop.hbase.coprocessor.WALObserver- Throws:
IOException
-