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