Package | Description |
---|---|
net.imglib2.cache | |
net.imglib2.cache.img | |
net.imglib2.cache.ref | |
net.imglib2.cache.util | |
net.imglib2.cache.volatiles |
Modifier and Type | Class and Description |
---|---|
class |
IoSync<K,V,D>
Handle concurrent loading and saving of cache entries.
|
Modifier and Type | Method and Description |
---|---|
V |
LoaderRemoverCache.get(K key,
CacheLoader<? super K,? extends V> loader,
CacheRemover<? super K,V,D> remover) |
V |
RemoverCache.get(K key,
CacheRemover<? super K,V,D> remover) |
default Cache<K,V> |
RemoverCache.withRemover(CacheRemover<K,V,D> remover) |
default LoaderCache<K,V> |
LoaderRemoverCache.withRemover(CacheRemover<K,V,D> remover) |
Constructor and Description |
---|
IoSync(CacheLoader<K,V> loader,
CacheRemover<K,V,D> saver,
int numThreads,
int maxQueueSize)
Create a new
IoSync that asynchronously forwards to the specified
CacheRemover . |
Modifier and Type | Class and Description |
---|---|
class |
DirtyDiskCellCache<A extends Dirty>
TODO
|
class |
DiskCellCache<A>
Basic
CacheRemover /CacheLoader for writing/reading cells
to a disk cache. |
Modifier and Type | Method and Description |
---|---|
V |
SoftRefLoaderRemoverCache.get(K key,
CacheLoader<? super K,? extends V> loader,
CacheRemover<? super K,V,D> remover) |
V |
GuardedStrongRefLoaderRemoverCache.get(K key,
CacheLoader<? super K,? extends V> loader,
CacheRemover<? super K,V,D> remover) |
Modifier and Type | Method and Description |
---|---|
V |
LoaderRemoverCacheKeyAdapter.get(K key,
CacheLoader<? super K,? extends V> loader,
CacheRemover<? super K,V,D> remover) |
V |
RemoverCacheKeyAdapter.get(K key,
CacheRemover<? super K,V,D> remover) |
V |
LoaderRemoverCacheAsRemoverCacheAdapter.get(K key,
CacheRemover<? super K,V,D> remover) |
static <K,V,D> LoaderCache<K,V> |
Caches.withRemover(LoaderRemoverCache<K,V,D> cache,
CacheRemover<K,V,D> removalListener) |
Constructor and Description |
---|
LoaderRemoverCacheAsLoaderCacheAdapter(LoaderRemoverCache<K,V,D> cache,
CacheRemover<K,V,D> remover) |
RemoverCacheAsCacheAdapter(RemoverCache<K,V,D> cache,
CacheRemover<K,V,D> remover) |
Modifier and Type | Method and Description |
---|---|
V |
VolatileRemoverCache.get(K key,
CacheRemover<? super K,V,D> remover,
CacheHints cacheHints) |
V |
VolatileLoaderRemoverCache.get(K key,
VolatileCacheLoader<? super K,? extends V> loader,
CacheRemover<? super K,V,D> remover,
CacheHints cacheHints) |
Copyright © 2015–2022 ImgLib2. All rights reserved.