public class ConsistencyCheck extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
doubleCheckErrors() |
List<ConsistencyCheckError> |
getErrors()
Returns the errors detected by the consistency check.
|
void |
repair(boolean ignoreFailure)
Repairs detected errors during the consistency check.
|
public void repair(boolean ignoreFailure)
throws IOException
ignoreFailure - if true repair failures are ignored,
the repair continues without throwing an exception. If
false the repair procedure is aborted on the first
repair failure.IOException - if a repair failure occurs.public List<ConsistencyCheckError> getErrors()
public void doubleCheckErrors()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.