| Package | Description |
|---|---|
| com.google.common.cache |
This package contains caching utilities.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLoadingCache<K
This class provides a skeletal implementation of the
Cache interface to minimize the effort required to implement this interface.
|
class |
ForwardingLoadingCache<K
A cache which forwards all its method calls to another cache.
|
static class |
ForwardingLoadingCache
A simplified version of
ForwardingLoadingCache where subclasses can pass in an already constructed
LoadingCache as the delegete.
|
| Modifier and Type | Method and Description |
|---|---|
<K1 extends K |
CacheBuilder.build(CacheLoader
Builds a cache, which either returns an already-loaded value for a given key or atomically computes or retrieves it using the supplied
CacheLoader.
|
protected abstract LoadingCache |
ForwardingLoadingCache.delegate()
|
protected LoadingCache |
ForwardingLoadingCache.SimpleForwardingLoadingCache.delegate()
|
| Constructor and Description | |
|---|---|
SimpleForwardingLoadingCache(LoadingCache
|