Class AbstractCacheLoader<K,​V>

  • All Implemented Interfaces:
    CacheLoader<K,​V>
    Direct Known Subclasses:
    AbstractCacheStore

    public abstract class AbstractCacheLoader<K,​V>
    extends Base
    implements CacheLoader<K,​V>
    An abstract base class for the JCache CacheLoader.
    Author:
    cp 2003.05.29
    • Constructor Detail

      • AbstractCacheLoader

        public AbstractCacheLoader()
    • Method Detail

      • load

        public abstract V load​(K key)
        Return the value associated with the specified key, or null if the key does not have an associated value in the underlying store.
        Specified by:
        load in interface CacheLoader<K,​V>
        Parameters:
        key - key whose associated value is to be returned
        Returns:
        the value associated with the specified key, or null if no value is available for that key