| Package | Description |
|---|---|
| org.nerd4j.utils.cache |
| Modifier and Type | Method and Description |
|---|---|
V |
AbstractSelfLoadingCache.get(CacheKey key,
DataProvider<V> dataProvider)
Returns the value related to the given key.
|
V |
SelfLoadingCache.get(CacheKey key,
DataProvider<V> dataProvider)
Returns the value related to the given key.
|
protected V |
AbstractSelfLoadingCache.insert(CacheKey key,
DataProvider<V> dataProvider)
Inserts the given key and the related value into the cache.
|
protected V |
AbstractSelfLoadingCache.load(CacheKey key,
DataProvider<V> dataProvider)
Loads the value from the
DataProvider. |
protected V |
AbstractSelfLoadingCache.loadAndPut(String operation,
CacheKey key,
DataProvider<V> dataProvider)
Performs the loading of te data related to the given
key and puts the
<key-value> pair into the cache. |
protected V |
AbstractSelfLoadingCache.update(CacheKey key,
CacheEntry<V> entry,
DataProvider<V> dataProvider)
Updates the cache for the given key and the related value.
|
Copyright © 2011–2020 Nerd4j. All rights reserved.