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

    Fields
    Modifier and Type
    Field
    Description
    private boolean
     
    private org.apache.hadoop.hbase.client.RegionInfo
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TableWALActionListener(org.apache.hadoop.hbase.client.RegionInfo region)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    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

      private org.apache.hadoop.hbase.client.RegionInfo regionInfo
    • isVisited

      private boolean isVisited
  • Constructor Details

  • 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 interface org.apache.hadoop.hbase.regionserver.wal.WALActionsListener
    • isWALVisited

      public boolean isWALVisited()