Package | Description |
---|---|
net.imglib2.cache | |
net.imglib2.cache.img | |
net.imglib2.cache.ref | |
net.imglib2.cache.util | |
net.imglib2.cache.volatiles | |
net.imglib2.img.io |
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 |
UncheckedLoaderCache.get(K key,
CacheLoader<? super K,? extends V> loader) |
V |
LoaderCache.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 RemoverCache<K,V,D> |
LoaderRemoverCache.withLoader(CacheLoader<K,V> loader) |
default Cache<K,V> |
LoaderCache.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 Dirty>
TODO
|
class |
DiskCellCache<A>
Basic
CacheRemover /CacheLoader for writing/reading cells
to a disk cache. |
class |
EmptyCellCacheLoader<A extends ArrayDataAccess<A>>
A
CacheLoader that produces empty cells of ArrayDataAccess
type A , with the correct dimensions, etc. |
class |
LoadedCellCacheLoader<T extends NativeType<T>,A extends ArrayDataAccess<A>>
A
CacheLoader that produces cells of ArrayDataAccess type
A and uses a CellLoader to populate them with data. |
class |
RandomAccessibleCacheLoader<T extends NativeType<T>,A extends ArrayDataAccess<A>,CA extends ArrayDataAccess<CA>>
A
CacheLoader that produces cells from a given source
RandomAccessible . |
Modifier and Type | Method and Description |
---|---|
<A> DiskCachedCellImg<T,A> |
DiskCachedCellImgFactory.createWithCacheLoader(Dimensions dimensions,
CacheLoader<Long,Cell<A>> backingLoader) |
<A> DiskCachedCellImg<T,A> |
DiskCachedCellImgFactory.createWithCacheLoader(Dimensions dimensions,
CacheLoader<Long,Cell<A>> backingLoader,
DiskCachedCellImgOptions additionalOptions) |
<A> DiskCachedCellImg<T,A> |
DiskCachedCellImgFactory.createWithCacheLoader(long[] dimensions,
CacheLoader<Long,Cell<A>> backingLoader) |
<A> DiskCachedCellImg<T,A> |
DiskCachedCellImgFactory.createWithCacheLoader(long[] dimensions,
CacheLoader<Long,Cell<A>> backingLoader,
DiskCachedCellImgOptions additionalOptions) |
<A> DiskCachedCellImg<T,A> |
DiskCachedCellImgFactory.createWithCacheLoader(long[] dim,
T type,
CacheLoader<Long,Cell<A>> backingLoader)
Deprecated.
|
<T extends NativeType<T>,A> |
ReadOnlyCachedCellImgFactory.createWithCacheLoader(long[] dim,
T type,
CacheLoader<Long,Cell<A>> backingLoader) |
<A> DiskCachedCellImg<T,A> |
DiskCachedCellImgFactory.createWithCacheLoader(long[] dim,
T type,
CacheLoader<Long,Cell<A>> backingLoader,
DiskCachedCellImgOptions additionalOptions)
Deprecated.
|
<T extends NativeType<T>,A> |
ReadOnlyCachedCellImgFactory.createWithCacheLoader(long[] dim,
T type,
CacheLoader<Long,Cell<A>> backingLoader,
ReadOnlyCachedCellImgOptions additionalOptions) |
Constructor and Description |
---|
DirtyDiskCellCache(Path blockcache,
CellGrid grid,
CacheLoader<Long,Cell<A>> backingLoader,
AccessIo<A> accessIo,
Fraction entitiesPerPixel) |
DiskCellCache(Path blockcache,
CellGrid grid,
CacheLoader<Long,Cell<A>> backingLoader,
AccessIo<A> accessIo,
Fraction entitiesPerPixel) |
Modifier and Type | Method and Description |
---|---|
V |
WeakRefLoaderCache.get(K key,
CacheLoader<? super K,? extends V> loader) |
V |
SoftRefLoaderCache.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 |
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> |
Modifier and Type | Class and Description |
---|---|
class |
IJLoader<T extends NumericType<T> & NativeType<T>>
An ImageJ-powered implementation of a disk-based
CacheLoader :
the file system is the cache, and requests to load image file paths
are executed using ImageJ's IJ.openImage(java.lang.String) ,
and wrapped as PlanarImg via the ImageJFunctions.wrap(ij.ImagePlus) . |
Modifier and Type | Method and Description |
---|---|
static <T extends NumericType<T> & NativeType<T>,A extends ArrayDataAccess<A>> |
Load.lazyStack(List<String> paths,
CacheLoader<String,Img<T>> loader)
Return a
CachedCellImg representation of the ordered list of file paths,
with each file path pointing to an image that can be loaded with the CacheLoader . |
static <T extends NumericType<T> & NativeType<T>> |
Load.stack(List<String> paths,
CacheLoader<String,Img<T>> loader)
Return an
Img representation of the ordered list of file paths,
with each file path pointing to an image that can be loaded with the CacheLoader . |
static <T extends NumericType<T> & NativeType<T>> |
Load.stack(String[] paths,
CacheLoader<String,Img<T>> loader) |
Copyright © 2015–2022 ImgLib2. All rights reserved.