CacheLoader
public interface BulkCacheSource<K,V>
Modifier and Type | Method and Description |
---|---|
List<V> |
getValues(List<CacheEntry<K,V>> entries,
long currentTime)
Deprecated.
Retrieve the values for the given cache entries.
|
List<V> getValues(List<CacheEntry<K,V>> entries, long currentTime) throws Throwable
The entry key is never null. Returned list must be of identical length then entries list.
entries
- list of entries / keys we want the data forcurrentTime
- time in millis just before the call to this methodThrowable
- any exception the cache should deal withcache2k API documentation. Copyright © 2000–2016 headissue GmbH, Munich.