Interface CacheLoader<K,V>

All Superinterfaces:
Lifecycle
All Known Subinterfaces:
AdvancedCacheLoader<K,V>, AdvancedLoadWriteStore<K,V>, ExternalStore<K,V>, FlagAffectedStore<K,V>, SegmentedAdvancedLoadWriteStore<K,V>
All Known Implementing Classes:
ClusterLoader

@ThreadSafe @Deprecated public interface CacheLoader<K,V> extends Lifecycle
Deprecated.
since 11.0 replaced by NonBlockingStore
Defines the logic for loading data from an external storage. The writing of data is optional and coordinated through a CacheWriter.
Since:
6.0
Author:
Mircea Markus
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
    Returns true if the storage contains an entry associated with the given key.
    void
    Deprecated.
    Used to initialize a cache loader.
    default boolean
    Deprecated.
     
    Deprecated.
    Fetches an entry from the storage.

    Methods inherited from interface org.infinispan.commons.api.Lifecycle

    start, stop