Package | Description |
---|---|
org.cache2k |
API package for cache2k Java caching library.
|
org.cache2k.configuration |
The cache configuration as a Java bean and support types.
|
org.cache2k.integration |
Loader and writer to integrate with external data sources.
|
Modifier and Type | Method and Description |
---|---|
Cache2kBuilder<K,V> |
Cache2kBuilder.loader(FunctionalCacheLoader<K,V> l)
Enables read through operation and sets a cache loader.
|
Cache2kBuilder<K,V> |
Cache2kBuilder.wrappingLoader(FunctionalCacheLoader<K,LoadDetail<V>> l)
Enables read through operation and sets a cache loader
|
Modifier and Type | Method and Description |
---|---|
CustomizationSupplier<? extends FunctionalCacheLoader<K,V>> |
Cache2kConfiguration.getLoader() |
Modifier and Type | Method and Description |
---|---|
void |
Cache2kConfiguration.setLoader(CustomizationSupplier<? extends FunctionalCacheLoader<K,V>> v) |
Modifier and Type | Class and Description |
---|---|
class |
CacheLoader<K,V>
Retrieves or generates a value to load into the cache.
|
cache2k API documentation. Copyright © 2000–2020 headissue GmbH, Munich.