| Package | Description |
|---|---|
| journal.io.api |
| Modifier and Type | Class and Description |
|---|---|
static class |
RecoveryErrorHandler.AbortOnError |
static class |
RecoveryErrorHandler.DeleteOnError |
static class |
RecoveryErrorHandler.IgnoreOnError |
| Modifier and Type | Field and Description |
|---|---|
static RecoveryErrorHandler |
RecoveryErrorHandler.ABORT
On recovery error, aborts the recovery process, preventing the journal to
be opened.
|
static RecoveryErrorHandler |
RecoveryErrorHandler.DELETE
On recovery error, mark the failed locations as deleted and
continue the recovery process.
|
static RecoveryErrorHandler |
RecoveryErrorHandler.IGNORE
On recovery error, log about the failed locations and continue the
recovery process.
|
| Modifier and Type | Method and Description |
|---|---|
JournalBuilder |
JournalBuilder.setRecoveryErrorHandler(RecoveryErrorHandler recoveryErrorHandler)
Set the RecoveryErrorHandler to invoke in case of checksum errors.
|
void |
Journal.setRecoveryErrorHandler(RecoveryErrorHandler recoveryErrorHandler)
Set the RecoveryErrorHandler to invoke in case of checksum errors.
|
Copyright © 2014. All Rights Reserved.