public interface BulkCacheSource<K,T>
Modifier and Type | Method and Description |
---|---|
List<T> |
getValues(List<CacheEntry<K,T>> entries,
long currentTime)
Retrieve the values for the given cache entries.
|
List<T> getValues(List<CacheEntry<K,T>> entries, long currentTime) throws Throwable
entries
- list of entries / keys we want the data forcurrentTime
- time in millis just before the call to this methodThrowable
cache2k API documentation. Copyright © 2000–2016 headissue GmbH, Munich.