public interface RecoveryErrorHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
RecoveryErrorHandler.AbortOnError |
static class |
RecoveryErrorHandler.DeleteOnError |
static class |
RecoveryErrorHandler.IgnoreOnError |
| Modifier and Type | Field and Description |
|---|---|
static RecoveryErrorHandler |
ABORT
On recovery error, aborts the recovery process, preventing the journal to
be opened.
|
static RecoveryErrorHandler |
DELETE
On recovery error, mark the failed locations as deleted and
continue the recovery process.
|
static RecoveryErrorHandler |
IGNORE
On recovery error, log about the failed locations and continue the
recovery process.
|
static final RecoveryErrorHandler ABORT
static final RecoveryErrorHandler DELETE
static final RecoveryErrorHandler IGNORE
void onError(Journal journal, List<Location> locations) throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.