public interface LoaderCache<K,V> extends AbstractCache<K,V>
defaultParallelismThreshold
Modifier and Type | Method and Description |
---|---|
V |
get(K key,
CacheLoader<? super K,? extends V> loader) |
default <T> LoaderCache<T,V> |
mapKeys(KeyBimap<T,K> keymap) |
default Cache<K,V> |
withLoader(CacheLoader<K,V> loader) |
getIfPresent, invalidate, invalidateAll, invalidateIf, persist, persistAll, persistIf
invalidateAll, invalidateIf
V get(K key, CacheLoader<? super K,? extends V> loader) throws ExecutionException
ExecutionException
default <T> LoaderCache<T,V> mapKeys(KeyBimap<T,K> keymap)
Copyright © 2015–2022 ImgLib2. All rights reserved.