static class BaseTestHBaseFsck.MockErrorReporter extends Object implements org.apache.hadoop.hbase.util.HbckErrorReporter
Modifier and Type | Field and Description |
---|---|
(package private) static int |
calledCount |
Constructor and Description |
---|
MockErrorReporter() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
detail(String details) |
ArrayList<org.apache.hadoop.hbase.util.HbckErrorReporter.ERROR_CODE> |
getErrorList() |
void |
print(String message) |
void |
progress() |
void |
report(String message) |
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 |
reportError(String message) |
void |
resetErrors() |
int |
summarize() |
boolean |
tableHasErrors(org.apache.hadoop.hbase.util.HbckTableInfo table) |
static int calledCount
MockErrorReporter()
public void clear()
clear
in interface org.apache.hadoop.hbase.util.HbckErrorReporter
public void report(String message)
report
in interface org.apache.hadoop.hbase.util.HbckErrorReporter
public void reportError(String message)
reportError
in interface org.apache.hadoop.hbase.util.HbckErrorReporter
public void reportError(org.apache.hadoop.hbase.util.HbckErrorReporter.ERROR_CODE errorCode, String message)
reportError
in interface org.apache.hadoop.hbase.util.HbckErrorReporter
public void reportError(org.apache.hadoop.hbase.util.HbckErrorReporter.ERROR_CODE errorCode, String message, org.apache.hadoop.hbase.util.HbckTableInfo table)
reportError
in interface org.apache.hadoop.hbase.util.HbckErrorReporter
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)
reportError
in interface org.apache.hadoop.hbase.util.HbckErrorReporter
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)
reportError
in interface org.apache.hadoop.hbase.util.HbckErrorReporter
public int summarize()
summarize
in interface org.apache.hadoop.hbase.util.HbckErrorReporter
public void detail(String details)
detail
in interface org.apache.hadoop.hbase.util.HbckErrorReporter
public ArrayList<org.apache.hadoop.hbase.util.HbckErrorReporter.ERROR_CODE> getErrorList()
getErrorList
in interface org.apache.hadoop.hbase.util.HbckErrorReporter
public void progress()
progress
in interface org.apache.hadoop.hbase.util.HbckErrorReporter
public void print(String message)
print
in interface org.apache.hadoop.hbase.util.HbckErrorReporter
public void resetErrors()
resetErrors
in interface org.apache.hadoop.hbase.util.HbckErrorReporter
public boolean tableHasErrors(org.apache.hadoop.hbase.util.HbckTableInfo table)
tableHasErrors
in interface org.apache.hadoop.hbase.util.HbckErrorReporter
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.