| Package | Description |
|---|---|
| org.cache2k |
API package for cache2k Java caching library.
|
| org.cache2k.integration |
Loader and writer to integrate with external data sources.
|
| Modifier and Type | Method and Description |
|---|---|
Cache2kBuilder<K,V> |
Cache2kBuilder.wrappingLoader(AdvancedCacheLoader<K,LoadDetail<V>> l)
Enables read through operation and sets a cache loader
|
Cache2kBuilder<K,V> |
Cache2kBuilder.wrappingLoader(CacheLoader<K,LoadDetail<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 | Class and Description |
|---|---|
class |
RefreshedTimeWrapper<V>
Instruct the case to use a different refresh time than the current time
for a loaded value.
|
| Modifier and Type | Method and Description |
|---|---|
LoadDetail<V> |
LoadDetail.getNextInChain() |
static <V> LoadDetail<V> |
Loaders.wrapRefreshedTime(LoadDetail<V> value,
long refreshedTimeInMillis) |
static <V> LoadDetail<V> |
Loaders.wrapRefreshedTime(V value,
long refreshedTimeInMillis)
Wraps a loaded value to add the refreshed value.
|
| Modifier and Type | Method and Description |
|---|---|
static <V> LoadDetail<V> |
Loaders.wrapRefreshedTime(LoadDetail<V> value,
long refreshedTimeInMillis) |
cache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.