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.buildAsync(AsyncCacheLoader<? super K1,V1> loader)
Builds a cache, which either returns a
CompletableFuture already loaded or currently
computing the value for a given key, or atomically computes the value asynchronously through a
supplied mapping function or the supplied AsyncCacheLoader . |
<K1 extends K,V1 extends V> |
Caffeine.buildAsync(CacheLoader<? super K1,V1> loader)
Builds a cache, which either returns a
CompletableFuture already loaded or currently
computing the value for a given key, or atomically computes the value asynchronously through a
supplied mapping function or the supplied CacheLoader . |
Copyright © 2018. All rights reserved.