Interface MetadataStore

All Known Subinterfaces:
ConcurrentMetadataStore, ListenableMetadataStore
All Known Implementing Classes:
HazelcastMetadataStore, JdbcMetadataStore, MongoDbMetadataStore, PropertiesPersistingMetadataStore, RedisMetadataStore, SimpleMetadataStore, ZookeeperMetadataStore

@ManagedResource public interface MetadataStore
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

    Modifier and Type
    Method
    Description
    get(String key)
    Reads a value for the given key from this MetadataStore.
    void
    put(String key, String value)
    Writes a key value pair to this MetadataStore.
    Remove a value for the given key from this MetadataStore.
  • Method Details

    • put

      void put(String key, String value)
      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.