Interface ListenableMetadataStore
- All Superinterfaces:
ConcurrentMetadataStore
,MetadataStore
- All Known Implementing Classes:
GemfireMetadataStore
,ZookeeperMetadataStore
public interface ListenableMetadataStore extends ConcurrentMetadataStore
ConcurrentMetadataStore
with the ability of registering MetadataStoreListener
callbacks, to be
invoked when changes occur in the metadata store.- Since:
- 4.2
- Author:
- Marius Bogoevici
-
Method Summary
Modifier and Type Method Description void
addListener(MetadataStoreListener callback)
Register a listener with the metadata store.void
removeListener(MetadataStoreListener callback)
Unregister a listener.Methods inherited from interface org.springframework.integration.metadata.ConcurrentMetadataStore
putIfAbsent, replace
Methods inherited from interface org.springframework.integration.metadata.MetadataStore
get, put, remove
-
Method Details
-
addListener
Register a listener with the metadata store.- Parameters:
callback
- the callback to be registered
-
removeListener
Unregister a listener.- Parameters:
callback
- the callback to be unregistered
-