Package | Description |
---|---|
com.google.common.cache |
This package contains caching utilities.
|
Modifier and Type | Interface and Description |
---|---|
interface |
LoadingCache<K,V>
A semi-persistent mapping from keys to values.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCache<K,V>
This class provides a skeletal implementation of the
Cache interface to minimize the
effort required to implement this interface. |
class |
AbstractLoadingCache<K,V>
This class provides a skeletal implementation of the
Cache interface to minimize the
effort required to implement this interface. |
class |
ForwardingCache<K,V>
A cache which forwards all its method calls to another cache.
|
static class |
ForwardingCache.SimpleForwardingCache<K,V>
A simplified version of
ForwardingCache where subclasses can pass in an already
constructed Cache as the delegete. |
class |
ForwardingLoadingCache<K,V>
A cache which forwards all its method calls to another cache.
|
static class |
ForwardingLoadingCache.SimpleForwardingLoadingCache<K,V>
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,V1 extends V> |
CacheBuilder.build()
Builds a cache which does not automatically load values when keys are requested.
|
protected abstract Cache<K,V> |
ForwardingCache.delegate() |
protected Cache<K,V> |
ForwardingCache.SimpleForwardingCache.delegate() |
Constructor and Description |
---|
ForwardingCache.SimpleForwardingCache(Cache<K,V> delegate) |
Copyright © 2010-2014. All Rights Reserved.