Class FileSystemPersistenceProvider

java.lang.Object
ddf.camel.component.catalog.content.FileSystemPersistenceProvider
All Implemented Interfaces:
com.hazelcast.map.MapLoader<String,Object>, com.hazelcast.map.MapStore<String,Object>

public class FileSystemPersistenceProvider extends Object implements com.hazelcast.map.MapLoader<String,Object>, com.hazelcast.map.MapStore<String,Object>
Hazelcast persistence provider implementation of @MapLoader and @MapStore to serialize and persist Java objects stored in Hazelcast cache to disk.
  • Constructor Details

    • FileSystemPersistenceProvider

      public FileSystemPersistenceProvider()
    • FileSystemPersistenceProvider

      public FileSystemPersistenceProvider(String mapName)
  • Method Details

    • store

      public void store(String key, Object value)
      Specified by:
      store in interface com.hazelcast.map.MapStore<String,Object>
    • storeAll

      public void storeAll(Map<String,Object> keyValueMap)
      Specified by:
      storeAll in interface com.hazelcast.map.MapStore<String,Object>
    • delete

      public void delete(String key)
      Specified by:
      delete in interface com.hazelcast.map.MapStore<String,Object>
    • deleteAll

      public void deleteAll(Collection<String> keys)
      Specified by:
      deleteAll in interface com.hazelcast.map.MapStore<String,Object>
    • load

      public Object load(String key)
      Specified by:
      load in interface com.hazelcast.map.MapLoader<String,Object>
    • loadAll

      public Map<String,Object> loadAll(Collection<String> keys)
      Specified by:
      loadAll in interface com.hazelcast.map.MapLoader<String,Object>
    • loadAllKeys

      public Set<String> loadAllKeys()
      Specified by:
      loadAllKeys in interface com.hazelcast.map.MapLoader<String,Object>