@Beta public static interface ChronicleHashCorruption.Listener
ChronicleHashCorruption
events.Modifier and Type | Method and Description |
---|---|
void |
onCorruption(ChronicleHashCorruption corruption)
Called when recovery
procedure encounters a corruption of a persisted Chronicle Map.
|
void onCorruption(ChronicleHashCorruption corruption)
During a recovery procedure, this method might be called concurrently from multiple threads. If the implementation of this method calls some methods on some objects, that are not safe for concurrent use from multiple threads, the implementation must care about synchronization itself.
corruption
- the corruption object, must not be saved and used outside the body of
the #onCorruption()
method, because during the recovery
procedure, the same corruption object could be reused.ChronicleHashCorruption
Copyright © 2022. All rights reserved.