| Package | Description |
|---|---|
| com.google.common.cache |
This package contains caching utilities.
|
| Modifier and Type | Method and Description |
|---|---|
static <K |
CacheLoader.asyncReloading(CacheLoader
|
static <K |
CacheLoader.from(Function
Returns a cache loader based on an
existing function instance.
|
static <V> CacheLoader |
CacheLoader.from(Supplier
Returns a cache loader based on an
existing supplier instance.
|
| Modifier and Type | Method and Description |
|---|---|
static <K |
CacheLoader.asyncReloading(CacheLoader
|
<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.
|