Interface MetadataStore
- All Known Subinterfaces:
ConcurrentMetadataStore,ListenableMetadataStore
- All Known Implementing Classes:
PropertiesPersistingMetadataStore,SimpleMetadataStore
@ManagedResource
public interface MetadataStore
Strategy interface for storing metadata from certain adapters
to avoid duplicate delivery of messages, for example.
- Since:
- 2.0
-
Method Summary
-
Method Details
-
put
Writes a key value pair to this MetadataStore.- Parameters:
key- The key.value- The value.
-
get
Reads a value for the given key from this MetadataStore.- Parameters:
key- The key.- Returns:
- The value.
-
remove
Remove a value for the given key from this MetadataStore.- Parameters:
key- The key.- Returns:
- The previous value associated with key, or null if there was no mapping for key.
-