Uses of Interface
com.aoapps.hodgepodge.cache.BackgroundCache.Refresher
-
Uses of BackgroundCache.Refresher in com.aoapps.hodgepodge.cache
Modifier and TypeMethodDescriptionGets the value if currently in the cache.Runs the refresher immediately to obtain the result, then places an entry into the cache, replacing any existing entry under this key.void
BackgroundCache.put
(K key, BackgroundCache.Refresher<? super K, ? extends V, ? extends Ex> refresher, Ex exception) Places a result into the cache, replacing any existing entry under this key.void
BackgroundCache.put
(K key, BackgroundCache.Refresher<? super K, ? extends V, ? extends Ex> refresher, V value) Places a result into the cache, replacing any existing entry under this key.