Class AbstractCacheLoader<K,V>

java.lang.Object
com.tangosol.util.Base
com.tangosol.net.cache.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 Details

    • AbstractCacheLoader

      public AbstractCacheLoader()
  • Method Details

    • 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