KEY - the registry key type.VALUE - the registry data value type.MAP - R - public interface ConsistencyHandler<KEY,VALUE extends Identifiable<KEY>,MAP extends Map<KEY,VALUE>,R extends Registry<KEY,VALUE>> extends Shutdownable
Shutdownable.ShutdownDeamon| Modifier and Type | Method and Description |
|---|---|
void |
processData(KEY id,
VALUE entry,
MAP entryMap,
R registry)
Method for establishing a registry data consistency.
|
void |
reset()
Method can be internally used to clear any temporally maps or other caches which are only used for one consistency check iteration.
|
registerShutdownHook, registerShutdownHook, shutdownvoid processData(KEY id, VALUE entry, MAP entryMap, R registry) throws CouldNotPerformException, EntryModification
id - entry - entryMap - the entry map of the underlying registry.registry - the underlying registry.CouldNotPerformException - thrown to handle errors.EntryModification - in case of entry modification during consistency process.void reset()
Copyright © 2015–2018 openbase.org. All rights reserved.