Uses of Interface
com.google.common.cache.LoadingCache
-
Packages that use LoadingCache Package Description com.google.common.cache This package contains caching utilities.com.google.common.eventbus The EventBus allows publish-subscribe-style communication between components without requiring the components to explicitly register with one another (and thus be aware of each other). -
-
Uses of LoadingCache in com.google.common.cache
Classes in com.google.common.cache that implement LoadingCache Modifier and Type Class Description classAbstractLoadingCache<K,V>This class provides a skeletal implementation of theCacheinterface to minimize the effort required to implement this interface.classForwardingLoadingCache<K,V>A cache which forwards all its method calls to another cache.static classForwardingLoadingCache.SimpleForwardingLoadingCache<K,V>A simplified version ofForwardingLoadingCachewhere subclasses can pass in an already constructedLoadingCacheas the delegate.(package private) static classLocalCache.LoadingSerializationProxy<K,V>Serializes the configuration of a LocalCache, reconstituting it as an LoadingCache using CacheBuilder upon deserialization.(package private) static classLocalCache.LocalLoadingCache<K,V>Fields in com.google.common.cache declared as LoadingCache Modifier and Type Field Description (package private) LoadingCache<K,V>LocalCache.LoadingSerializationProxy. autoDelegateprivate LoadingCache<K,V>ForwardingLoadingCache.SimpleForwardingLoadingCache. delegateMethods in com.google.common.cache that return LoadingCache Modifier and Type Method Description <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 LoadingCache<K,V>ForwardingLoadingCache.SimpleForwardingLoadingCache. delegate()Constructors in com.google.common.cache with parameters of type LoadingCache Constructor Description SimpleForwardingLoadingCache(LoadingCache<K,V> delegate) -
Uses of LoadingCache in com.google.common.eventbus
Fields in com.google.common.eventbus declared as LoadingCache Modifier and Type Field Description private static LoadingCache<java.lang.Class<?>,ImmutableSet<java.lang.Class<?>>>SubscriberRegistry. flattenHierarchyCacheGlobal cache of classes to their flattened hierarchy of supertypes.private static LoadingCache<java.lang.Class<?>,ImmutableList<java.lang.reflect.Method>>SubscriberRegistry. subscriberMethodsCacheA thread-safe cache that contains the mapping from each class to all methods in that class and all super-classes, that are annotated with@Subscribe.
-