journal.io.api
Class RecoveryErrorHandler.AbortOnError
java.lang.Object
journal.io.api.RecoveryErrorHandler.AbortOnError
- All Implemented Interfaces:
- RecoveryErrorHandler
- Enclosing interface:
- RecoveryErrorHandler
public static class RecoveryErrorHandler.AbortOnError
- extends Object
- implements RecoveryErrorHandler
|
Method Summary |
void |
onError(Journal journal,
List<Location> locations)
Invoked by the journal during its recovery process in case of a checksum
error for the given locations. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecoveryErrorHandler.AbortOnError
public RecoveryErrorHandler.AbortOnError()
onError
public void onError(Journal journal,
List<Location> locations)
throws IOException
- Description copied from interface:
RecoveryErrorHandler
- Invoked by the journal during its recovery process in case of a checksum
error for the given locations.
Please note this method will be invoked once for any batch containing failed locations.
- Specified by:
onError in interface RecoveryErrorHandler
- Throws:
IOException
Copyright © 2013. All Rights Reserved.