| Package | Description |
|---|---|
| net.imglib2.cache | |
| net.imglib2.cache.img | |
| net.imglib2.cache.ref | |
| net.imglib2.cache.util | |
| net.imglib2.cache.volatiles |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Cache<K,V> |
interface |
UncheckedCache<K,V> |
| 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 |
LoaderCache.get(K key,
CacheLoader<? super K,? extends V> loader) |
V |
UncheckedLoaderCache.get(K key,
CacheLoader<? super K,? extends V> loader) |
V |
LoaderRemoverCache.get(K key,
CacheLoader<? super K,? extends V> loader,
CacheRemover<? super K,V,D> remover) |
default Cache<K,V> |
LoaderCache.withLoader(CacheLoader<K,V> loader) |
default RemoverCache<K,V,D> |
LoaderRemoverCache.withLoader(CacheLoader<K,V> loader) |
| 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 net.imglib2.Dirty>
TODO
|
class |
DiskCellCache<A>
Basic
CacheRemover/CacheLoader for writing/reading cells
to a disk cache. |
class |
EmptyCellCacheLoader<A extends net.imglib2.img.basictypeaccess.array.ArrayDataAccess<A>>
A
CacheLoader that produces empty cells of ArrayDataAccess
type A, with the correct dimensions, etc. |
class |
LoadedCellCacheLoader<T extends net.imglib2.type.NativeType<T>,A extends net.imglib2.img.basictypeaccess.array.ArrayDataAccess<A>>
A
CacheLoader that produces cells of ArrayDataAccess type
A and uses a CellLoader to populate them with data. |
class |
RandomAccessibleCacheLoader<T extends net.imglib2.type.NativeType<T>,A extends net.imglib2.img.basictypeaccess.array.ArrayDataAccess<A>,CA extends net.imglib2.img.basictypeaccess.array.ArrayDataAccess<CA>>
A
CacheLoader that produces cells from a given source
RandomAccessible. |
| Constructor and Description |
|---|
DirtyDiskCellCache(Path blockcache,
net.imglib2.img.cell.CellGrid grid,
CacheLoader<Long,net.imglib2.img.cell.Cell<A>> backingLoader,
AccessIo<A> accessIo,
net.imglib2.util.Fraction entitiesPerPixel) |
DiskCellCache(Path blockcache,
net.imglib2.img.cell.CellGrid grid,
CacheLoader<Long,net.imglib2.img.cell.Cell<A>> backingLoader,
AccessIo<A> accessIo,
net.imglib2.util.Fraction entitiesPerPixel) |
| Modifier and Type | Method and Description |
|---|---|
V |
WeakRefLoaderCache.get(K key,
CacheLoader<? super K,? extends V> loader) |
V |
GuardedStrongRefLoaderCache.get(K key,
CacheLoader<? super K,? extends V> loader) |
V |
BoundedSoftRefLoaderCache.get(K key,
CacheLoader<? super K,? extends V> loader) |
V |
SoftRefLoaderCache.get(K key,
CacheLoader<? super K,? extends V> loader) |
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 | Class and Description |
|---|---|
class |
CacheAsUncheckedCacheAdapter<K,V>
Wraps a
Cache<K,V> as an UncheckedCache<K,V>. |
class |
CacheKeyAdapter<K,L,V,C extends Cache<L,V>> |
class |
IntervalKeyLoaderAsLongKeyLoader<A>
|
class |
LoaderCacheAsCacheAdapter<K,V>
Wraps a
LoaderCache<K,V> as a Cache<K,V>. |
class |
RemoverCacheAsCacheAdapter<K,V,D>
Wraps a
RemoverCache<K,V> as a Cache<K,V>. |
| Modifier and Type | Method and Description |
|---|---|
V |
LoaderRemoverCacheAsLoaderCacheAdapter.get(K key,
CacheLoader<? super K,? extends V> loader) |
V |
LoaderCacheKeyAdapter.get(K key,
CacheLoader<? super K,? extends V> loader) |
V |
LoaderRemoverCacheKeyAdapter.get(K key,
CacheLoader<? super K,? extends V> loader,
CacheRemover<? super K,V,D> remover) |
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) |
LoaderRemoverCacheAsRemoverCacheAdapter(LoaderRemoverCache<K,V,D> cache,
CacheLoader<K,V> loader) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
VolatileCacheLoader<K,V> |
Copyright © 2017–2025 ImgLib2. All rights reserved.