public static class TestRegionObserverForAddingMutationsFromCoprocessors.TestWALObserver extends Object implements org.apache.hadoop.hbase.coprocessor.WALCoprocessor, org.apache.hadoop.hbase.coprocessor.WALObserver
Modifier and Type | Field and Description |
---|---|
(package private) static org.apache.hadoop.hbase.wal.WALEdit |
savedEdit |
Constructor and Description |
---|
TestWALObserver() |
Modifier and Type | Method and Description |
---|---|
Optional<org.apache.hadoop.hbase.coprocessor.WALObserver> |
getWALObserver() |
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) |
static org.apache.hadoop.hbase.wal.WALEdit savedEdit
public TestWALObserver()
public Optional<org.apache.hadoop.hbase.coprocessor.WALObserver> getWALObserver()
getWALObserver
in interface org.apache.hadoop.hbase.coprocessor.WALCoprocessor
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
postWALWrite
in interface org.apache.hadoop.hbase.coprocessor.WALObserver
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.