K - the type of keys handled by this loaderV - the type of values generated by this loaderpublic interface CacheLoader<K,V>
Cache.loadAll(java.util.Set, boolean,
CompletionListener) method.CompleteConfiguration.isReadThrough(),
CacheWriterV load(K key) throws CacheLoaderException
null should be returned.key - the key identifying the object being loadednull if the object can't be loadedCacheLoaderException - if there is problem executing the loader.Map<K,V> loadAll(Iterable<? extends K> keys) throws CacheLoaderException
keys - keys identifying the values to be loadedCacheLoaderException - if there is problem executing the loader.Copyright © 2017. All rights reserved.