Package com.google.common.cache
Class CacheLoader.FunctionToCacheLoader<K,V>
java.lang.Object
com.google.common.cache.CacheLoader<K,V>
com.google.common.cache.CacheLoader.FunctionToCacheLoader<K,V>
- All Implemented Interfaces:
Serializable
- Enclosing class:
CacheLoader<K,V>
private static final class CacheLoader.FunctionToCacheLoader<K,V>
extends CacheLoader<K,V>
implements Serializable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader
CacheLoader.InvalidCacheLoadException, CacheLoader.UnsupportedLoadingOperationException -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.cache.CacheLoader
asyncReloading, from, from, loadAll, reload
-
Field Details
-
computingFunction
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
FunctionToCacheLoader
-
-
Method Details
-
load
Description copied from class:CacheLoaderComputes or retrieves the value corresponding tokey.- Specified by:
loadin classCacheLoader<K,V> - Parameters:
key- the non-null key whose value should be loaded- Returns:
- the value associated with
key; must not be null
-