Class GemfireMetadataStore

java.lang.Object
org.springframework.integration.gemfire.metadata.GemfireMetadataStore
All Implemented Interfaces:
org.springframework.integration.metadata.ConcurrentMetadataStore, org.springframework.integration.metadata.ListenableMetadataStore, org.springframework.integration.metadata.MetadataStore

public class GemfireMetadataStore extends Object implements org.springframework.integration.metadata.ListenableMetadataStore
Gemfire implementation of ListenableMetadataStore. Use this MetadataStore to achieve meta-data persistence shared across application instances and restarts.
Since:
4.0
  • Field Details

  • Constructor Details

    • GemfireMetadataStore

      public GemfireMetadataStore(org.apache.geode.cache.Cache cache)
    • GemfireMetadataStore

      public GemfireMetadataStore(org.apache.geode.cache.Region<String,String> region)
  • Method Details

    • put

      public void put(String key, String value)
      Specified by:
      put in interface org.springframework.integration.metadata.MetadataStore
    • putIfAbsent

      public String putIfAbsent(String key, String value)
      Specified by:
      putIfAbsent in interface org.springframework.integration.metadata.ConcurrentMetadataStore
    • replace

      public boolean replace(String key, String oldValue, String newValue)
      Specified by:
      replace in interface org.springframework.integration.metadata.ConcurrentMetadataStore
    • get

      public String get(String key)
      Specified by:
      get in interface org.springframework.integration.metadata.MetadataStore
    • remove

      public String remove(String key)
      Specified by:
      remove in interface org.springframework.integration.metadata.MetadataStore
    • addListener

      public void addListener(org.springframework.integration.metadata.MetadataStoreListener listener)
      Specified by:
      addListener in interface org.springframework.integration.metadata.ListenableMetadataStore
    • removeListener

      public void removeListener(org.springframework.integration.metadata.MetadataStoreListener listener)
      Specified by:
      removeListener in interface org.springframework.integration.metadata.ListenableMetadataStore