Interface ListenableMetadataStore
- All Superinterfaces:
ConcurrentMetadataStore,MetadataStore
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
-
Method Summary
Modifier and Type Method Description voidaddListener(MetadataStoreListener callback)Registers a listener with the metadata storevoidremoveListener(MetadataStoreListener callback)Unregisters a listenerMethods inherited from interface org.springframework.integration.metadata.ConcurrentMetadataStore
putIfAbsent, replaceMethods inherited from interface org.springframework.integration.metadata.MetadataStore
get, put, remove
-
Method Details
-
addListener
Registers a listener with the metadata store- Parameters:
callback- the callback to be registered
-
removeListener
Unregisters a listener- Parameters:
callback- the callback to be unregistered
-