public interface FunctionalCacheLoader<K,V>
CacheLoader
for full documentations.
Rationale: Have a functional interface for Java 8 lambda usage, while still maintain the abstract cache loader class that is extensible with new methods for Java 6.
CacheLoader
Modifier and Type | Method and Description |
---|---|
V |
load(K key) |
V load(K key) throws Exception
Exception
CacheLoader.load(Object)
cache2k API documentation. Copyright © 2000–2017 headissue GmbH, Munich.