Package com.google.common.cache
Class CacheLoader.SupplierToCacheLoader<V>
java.lang.Object
com.google.common.cache.CacheLoader<Object,V>
com.google.common.cache.CacheLoader.SupplierToCacheLoader<V>
- All Implemented Interfaces:
Serializable
- Enclosing class:
CacheLoader<K,V>
private static final class CacheLoader.SupplierToCacheLoader<V>
extends CacheLoader<Object,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
-
computingSupplier
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SupplierToCacheLoader
-
-
Method Details
-
load
Description copied from class:CacheLoaderComputes or retrieves the value corresponding tokey.- Specified by:
loadin classCacheLoader<Object,V> - Parameters:
key- the non-null key whose value should be loaded- Returns:
- the value associated with
key; must not be null
-