Uses of Class
com.aoindustries.cache.BackgroundCache.Result
-
Packages that use BackgroundCache.Result Package Description com.aoindustries.cache -
-
Uses of BackgroundCache.Result in com.aoindustries.cache
Methods in com.aoindustries.cache that return BackgroundCache.Result Modifier and Type Method Description BackgroundCache.Result<V,E>BackgroundCache. get(K key)Gets a cached result for the given key, null if not cached.BackgroundCache.Result<V,E>BackgroundCache. get(K key, BackgroundCache.Refresher<? super K,? extends V,? extends E> refresher)Gets the value if currently in the cache.BackgroundCache.Result<V,E>BackgroundCache. put(K key, BackgroundCache.Refresher<? super K,? extends V,? extends E> refresher)Runs the refresher immediately to obtain the result, then places an entry into the cache, replacing any existing entry under this key.
-