Class CompositeCacheLoader<K,V>

java.lang.Object
org.apache.commons.jcs3.jcache.extras.loader.CompositeCacheLoader<K,V>
All Implemented Interfaces:
Closeable, Serializable, AutoCloseable, javax.cache.configuration.Factory<javax.cache.integration.CacheLoader<K,V>>, javax.cache.integration.CacheLoader<K,V>

public class CompositeCacheLoader<K,V> extends Object implements javax.cache.integration.CacheLoader<K,V>, Closeable, javax.cache.configuration.Factory<javax.cache.integration.CacheLoader<K,V>>
See Also:
  • Constructor Details

  • Method Details

    • load

      public V load(K key) throws javax.cache.integration.CacheLoaderException
      Specified by:
      load in interface javax.cache.integration.CacheLoader<K,V>
      Throws:
      javax.cache.integration.CacheLoaderException
    • loadAll

      public Map<K,V> loadAll(Iterable<? extends K> keys) throws javax.cache.integration.CacheLoaderException
      Specified by:
      loadAll in interface javax.cache.integration.CacheLoader<K,V>
      Throws:
      javax.cache.integration.CacheLoaderException
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException
    • create

      public javax.cache.integration.CacheLoader<K,V> create()
      Specified by:
      create in interface javax.cache.configuration.Factory<K>