T - the pixel typeA - the underlying native access typepublic class DiskCachedCellImg<T extends NativeType<T>,A extends DataAccess> extends CachedCellImg<T,A>
LazyCellImg that creates empty Cells lazily when they are accessed
and stores (modified) Cells in a disk cache when memory runs full.LazyCellImg.Get<T>, LazyCellImg.LazyCells<T extends Cell<?>>AbstractCellImg.CellImgSampler<C>cells, gridentitiesPerPixel, linkedType, numEntitiesdimension, max, n, numPixels| Constructor and Description |
|---|
DiskCachedCellImg(DiskCachedCellImgFactory<T> factory,
CellGrid grid,
Fraction entitiesPerPixel,
Cache<Long,Cell<A>> cache,
IoSync<?,?,?> iosync,
A accessType) |
| Modifier and Type | Method and Description |
|---|---|
ImgFactory<T> |
factory() |
void |
shutdown()
Shutdown the internal
IoSync to free resources via
IoSync.shutdown(). |
getAccessType, getCachecopycopyDataTo, cursor, getCellGrid, getCells, iterationOrder, localizingCursor, localizingSpliterator, randomAccess, spliterator, updatecreateLinkedType, getType, setLinkedTypedimension, dimensions, max, max, max, min, min, min, numDimensions, numElements, randomAccess, realMax, realMax, realMax, realMin, realMin, realMin, size, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsizegetAt, getAt, getAt, randomAccessfirstElement, iterator, parallelStream, streamdimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMinmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMinallPositive, allPositive, dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivenumDimensionspublic void shutdown()
IoSync to free resources via
IoSync.shutdown(). No data will be written to disk after
shutdown.public ImgFactory<T> factory()
factory in interface Img<T extends NativeType<T>>factory in class CachedCellImg<T extends NativeType<T>,A extends DataAccess>Copyright © 2017–2024 ImgLib2. All rights reserved.