K - the cache key typeV - the result typepublic interface XPFSynchronizedCacheSupport<K,V>
| Modifier and Type | Method and Description | 
|---|---|
V | 
get(K cacheKey,
   Function<K,V> fallbackLoaderFunction,
   Function<K,XPFCacheResult<V>> checkCacheFunction,
   BiFunction<K,V,V> populateCacheFunction)
Get the requested key from the cache, or use the fallback loader function if the key is not present. 
 | 
V get(K cacheKey, Function<K,V> fallbackLoaderFunction, Function<K,XPFCacheResult<V>> checkCacheFunction, BiFunction<K,V,V> populateCacheFunction)
cacheKey - the cache key objectfallbackLoaderFunction - the function for populating the cachecheckCacheFunction - the function for retrieving the passed key from the cachepopulateCacheFunction - the function for populating the cache with the passed key and valueCopyright © 2023. All rights reserved.