Class BaseTestHBaseFsck.MockErrorReporter

java.lang.Object
org.apache.hadoop.hbase.util.BaseTestHBaseFsck.MockErrorReporter
All Implemented Interfaces:
org.apache.hadoop.hbase.util.HbckErrorReporter
Enclosing class:
BaseTestHBaseFsck

static class BaseTestHBaseFsck.MockErrorReporter extends Object implements org.apache.hadoop.hbase.util.HbckErrorReporter
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.util.HbckErrorReporter

    org.apache.hadoop.hbase.util.HbckErrorReporter.ERROR_CODE
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    detail(String details)
     
    ArrayList<org.apache.hadoop.hbase.util.HbckErrorReporter.ERROR_CODE>
     
    void
    print(String message)
     
    void
     
    void
    report(String message)
     
    void
     
    void
    reportError(org.apache.hadoop.hbase.util.HbckErrorReporter.ERROR_CODE errorCode, String message)
     
    void
    reportError(org.apache.hadoop.hbase.util.HbckErrorReporter.ERROR_CODE errorCode, String message, org.apache.hadoop.hbase.util.HbckTableInfo table)
     
    void
    reportError(org.apache.hadoop.hbase.util.HbckErrorReporter.ERROR_CODE errorCode, String message, org.apache.hadoop.hbase.util.HbckTableInfo table, org.apache.hadoop.hbase.util.HbckRegionInfo info)
     
    void
    reportError(org.apache.hadoop.hbase.util.HbckErrorReporter.ERROR_CODE errorCode, String message, org.apache.hadoop.hbase.util.HbckTableInfo table, org.apache.hadoop.hbase.util.HbckRegionInfo info1, org.apache.hadoop.hbase.util.HbckRegionInfo info2)
     
    void
     
    int
     
    boolean
    tableHasErrors(org.apache.hadoop.hbase.util.HbckTableInfo table)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.hadoop.hbase.util.HbckErrorReporter
    • report

      public void report(String message)
      Specified by:
      report in interface org.apache.hadoop.hbase.util.HbckErrorReporter
    • reportError

      public void reportError(String message)
      Specified by:
      reportError in interface org.apache.hadoop.hbase.util.HbckErrorReporter
    • reportError

      public void reportError(org.apache.hadoop.hbase.util.HbckErrorReporter.ERROR_CODE errorCode, String message)
      Specified by:
      reportError in interface org.apache.hadoop.hbase.util.HbckErrorReporter
    • reportError

      public void reportError(org.apache.hadoop.hbase.util.HbckErrorReporter.ERROR_CODE errorCode, String message, org.apache.hadoop.hbase.util.HbckTableInfo table)
      Specified by:
      reportError in interface org.apache.hadoop.hbase.util.HbckErrorReporter
    • reportError

      public void reportError(org.apache.hadoop.hbase.util.HbckErrorReporter.ERROR_CODE errorCode, String message, org.apache.hadoop.hbase.util.HbckTableInfo table, org.apache.hadoop.hbase.util.HbckRegionInfo info)
      Specified by:
      reportError in interface org.apache.hadoop.hbase.util.HbckErrorReporter
    • reportError

      public void reportError(org.apache.hadoop.hbase.util.HbckErrorReporter.ERROR_CODE errorCode, String message, org.apache.hadoop.hbase.util.HbckTableInfo table, org.apache.hadoop.hbase.util.HbckRegionInfo info1, org.apache.hadoop.hbase.util.HbckRegionInfo info2)
      Specified by:
      reportError in interface org.apache.hadoop.hbase.util.HbckErrorReporter
    • summarize

      public int summarize()
      Specified by:
      summarize in interface org.apache.hadoop.hbase.util.HbckErrorReporter
    • detail

      public void detail(String details)
      Specified by:
      detail in interface org.apache.hadoop.hbase.util.HbckErrorReporter
    • getErrorList

      public ArrayList<org.apache.hadoop.hbase.util.HbckErrorReporter.ERROR_CODE> getErrorList()
      Specified by:
      getErrorList in interface org.apache.hadoop.hbase.util.HbckErrorReporter
    • progress

      public void progress()
      Specified by:
      progress in interface org.apache.hadoop.hbase.util.HbckErrorReporter
    • print

      public void print(String message)
      Specified by:
      print in interface org.apache.hadoop.hbase.util.HbckErrorReporter
    • resetErrors

      public void resetErrors()
      Specified by:
      resetErrors in interface org.apache.hadoop.hbase.util.HbckErrorReporter
    • tableHasErrors

      public boolean tableHasErrors(org.apache.hadoop.hbase.util.HbckTableInfo table)
      Specified by:
      tableHasErrors in interface org.apache.hadoop.hbase.util.HbckErrorReporter