| Package | Description |
|---|---|
| com.github.benmanes.caffeine.cache |
This package contains caching utilities.
|
| Modifier and Type | Method and Description |
|---|---|
<K1 extends K,V1 extends V> |
Caffeine.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. |
LoadingCache<K,V> |
AsyncLoadingCache.synchronous()
Returns a view of the entries stored in this cache as a synchronous
LoadingCache. |
Copyright © 2024. All rights reserved.