private static class TestImportExport.TableWALActionListener extends Object implements org.apache.hadoop.hbase.regionserver.wal.WALActionsListener
WALActionsListener.visitLogEntryBeforeWrite(RegionInfo, WALKey, WALEdit)
to
identify that an entry is written to the Write Ahead Log for the given table.Modifier and Type | Field and Description |
---|---|
private boolean |
isVisited |
private org.apache.hadoop.hbase.client.RegionInfo |
regionInfo |
Constructor and Description |
---|
TableWALActionListener(org.apache.hadoop.hbase.client.RegionInfo region) |
Modifier and Type | Method and Description |
---|---|
boolean |
isWALVisited() |
void |
visitLogEntryBeforeWrite(org.apache.hadoop.hbase.wal.WALKey logKey,
org.apache.hadoop.hbase.wal.WALEdit logEdit) |
private org.apache.hadoop.hbase.client.RegionInfo regionInfo
private boolean isVisited
public TableWALActionListener(org.apache.hadoop.hbase.client.RegionInfo region)
public void visitLogEntryBeforeWrite(org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit)
visitLogEntryBeforeWrite
in interface org.apache.hadoop.hbase.regionserver.wal.WALActionsListener
public boolean isWALVisited()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.