Interface MetadataStore
- All Known Subinterfaces:
ConcurrentMetadataStore
,ListenableMetadataStore
- All Known Implementing Classes:
HazelcastMetadataStore
,JdbcMetadataStore
,MongoDbMetadataStore
,PropertiesPersistingMetadataStore
,RedisMetadataStore
,SimpleMetadataStore
,ZookeeperMetadataStore
Strategy interface for storing metadata from certain adapters
to avoid duplicate delivery of messages, for example.
- Since:
- 2.0
- Author:
- Josh Long, Oleg Zhurakousky, Mark Fisher, Gary Russell
-
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.
-