Uses of Interface
com.google.common.cache.LoadingCache
-
Uses of LoadingCache in com.google.common.cache
Modifier and TypeClassDescriptionclass
AbstractLoadingCache<K,
V> This class provides a skeletal implementation of theCache
interface to minimize the effort required to implement this interface.class
A cache which forwards all its method calls to another cache.static class
A simplified version ofForwardingLoadingCache
where subclasses can pass in an already constructedLoadingCache
as the delegate.Modifier and TypeMethodDescription<K1 extends K,
V1 extends V>
LoadingCache<K1, V1> CacheBuilder.build
(CacheLoader<? super K1, V1> loader) Builds a cache, which either returns an already-loaded value for a given key or atomically computes or retrieves it using the suppliedCacheLoader
.protected abstract LoadingCache
<K, V> ForwardingLoadingCache.delegate()
protected final LoadingCache
<K, V> ForwardingLoadingCache.SimpleForwardingLoadingCache.delegate()