Interface MetadataStoreListener
- All Known Implementing Classes:
MetadataStoreListenerAdapter
public interface MetadataStoreListener
A callback to be invoked whenever a value changes in the data store.
- Since:
- 4.2
- Author:
- Marius Bogoevici
-
Method Details
-
onAdd
Invoked when a key is added to the store- Parameters:
key
- the key being addedvalue
- the value being added
-
onRemove
Invoked when a key is removed from the store- Parameters:
key
- the key being removedoldValue
- the value being removed
-
onUpdate
Invoked when a key is updated into the store- Parameters:
key
- the key being updatednewValue
- the new value
-