| Package | Description |
|---|---|
| net.imglib2.cache | |
| net.imglib2.cache.ref | |
| net.imglib2.cache.util |
| Modifier and Type | Method and Description |
|---|---|
default <T> LoaderCache<T,V> |
LoaderCache.mapKeys(KeyBimap<T,K> keymap) |
default LoaderCache<K,V> |
LoaderRemoverCache.withRemover(CacheRemover<K,V,D> remover) |
| Modifier and Type | Class and Description |
|---|---|
class |
BoundedSoftRefLoaderCache<K,V>
A cache that forwards to some other cache (usually
WeakRefLoaderCache) and additionally keeps SoftReferences to
the N most recently accessed values. |
class |
GuardedStrongRefLoaderCache<K,V>
A
LoaderCache that is backed by a cache with strong references to
values. |
class |
SoftRefLoaderCache<K,V> |
class |
WeakRefLoaderCache<K,V> |
| Constructor and Description |
|---|
BoundedSoftRefLoaderCache(int maxSoftRefs,
LoaderCache<K,V> cache) |
WeakRefVolatileLoaderCache(LoaderCache<K,V> backingCache,
BlockingFetchQueues<Callable<?>> fetchQueue) |
| Modifier and Type | Class and Description |
|---|---|
class |
LoaderCacheKeyAdapter<K,L,V,C extends LoaderCache<L,V>> |
| Modifier and Type | Class and Description |
|---|---|
class |
LoaderCacheKeyAdapter<K,L,V,C extends LoaderCache<L,V>> |
class |
LoaderRemoverCacheAsLoaderCacheAdapter<K,V,D>
Wraps a
LoaderRemoverCache<K,V> as a LoaderCache<K,V>. |
| Modifier and Type | Method and Description |
|---|---|
static <K,L,V> LoaderCache<K,V> |
Caches.mapKeys(LoaderCache<L,V> cache,
KeyBimap<K,L> keymap) |
static <K,V,D> LoaderCache<K,V> |
Caches.withRemover(LoaderRemoverCache<K,V,D> cache,
CacheRemover<K,V,D> removalListener) |
| Modifier and Type | Method and Description |
|---|---|
static <K,L,V> LoaderCache<K,V> |
Caches.mapKeys(LoaderCache<L,V> cache,
KeyBimap<K,L> keymap) |
static <K,V> Cache<K,V> |
Caches.withLoader(LoaderCache<K,V> cache,
CacheLoader<K,V> loader) |
| Constructor and Description |
|---|
LoaderCacheAsCacheAdapter(LoaderCache<K,V> cache,
CacheLoader<K,V> loader) |
Copyright © 2015–2022 ImgLib2. All rights reserved.