|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CacheLoader | |
---|---|
com.google.common.cache | This package contains caching utilities. |
Uses of CacheLoader in com.google.common.cache |
---|
Methods in com.google.common.cache that return CacheLoader | ||
---|---|---|
static
|
CacheLoader.from(Function<K,V> function)
Returns a CacheLoader which creates values by applying a Function to the key. |
|
static
|
CacheLoader.from(Supplier<V> supplier)
Returns a CacheLoader which obtains values from a Supplier (independent of the
key). |
Methods in com.google.common.cache with parameters of type CacheLoader | ||
---|---|---|
|
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 supplied CacheLoader . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |