Class TestImportExport.TableWALActionListener
java.lang.Object
org.apache.hadoop.hbase.mapreduce.TestImportExport.TableWALActionListener
- All Implemented Interfaces:
org.apache.hadoop.hbase.regionserver.wal.WALActionsListener
- Enclosing class:
- TestImportExport
private static class TestImportExport.TableWALActionListener
extends Object
implements org.apache.hadoop.hbase.regionserver.wal.WALActionsListener
This listens to the
visitLogEntryBeforeWrite(RegionInfo, WALKey, WALEdit)
to identify
that an entry is written to the Write Ahead Log for the given table.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.regionserver.wal.WALActionsListener
org.apache.hadoop.hbase.regionserver.wal.WALActionsListener.RollRequestReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private org.apache.hadoop.hbase.client.RegionInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
visitLogEntryBeforeWrite
(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, wait
Methods inherited from interface org.apache.hadoop.hbase.regionserver.wal.WALActionsListener
logCloseRequested, logRollRequested, postAppend, postLogArchive, postLogRoll, postSync, preLogArchive, preLogRoll
-
Field Details
-
regionInfo
-
isVisited
-
-
Constructor Details
-
TableWALActionListener
-
-
Method Details
-
visitLogEntryBeforeWrite
public void visitLogEntryBeforeWrite(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) - Specified by:
visitLogEntryBeforeWrite
in interfaceorg.apache.hadoop.hbase.regionserver.wal.WALActionsListener
-
isWALVisited
-