Package ome.io.bioformats
Class MemoizerFallback
- java.lang.Object
-
- loci.formats.ReaderWrapper
-
- loci.formats.Memoizer
-
- ome.io.bioformats.MemoizerFallback
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,loci.formats.ICompressedTileReader
,loci.formats.IFormatHandler
,loci.formats.IFormatReader
,loci.formats.IMetadataConfigurable
,loci.formats.IPyramidHandler
public class MemoizerFallback extends loci.formats.Memoizer
While appearing to be aMemoizer
this class actually wraps multiple memoizers. If this instance's memoizer does not already have a memo file available onsetId(String)
then a copy is first taken from one of the other memoizers, preferring the earlier.- Since:
- 5.4.6
-
-
Constructor Summary
Constructors Constructor Description MemoizerFallback(loci.formats.IFormatReader reader, long minimumElapsed, java.io.File directory, java.util.Collection<MemoizerReadOnly> fallbacks)
AsMemoizer(IFormatReader, long, File)
with an additionalfallbacks
argument that provides other memoizers from which this instance may copy a memo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setId(java.lang.String id)
-
Methods inherited from class loci.formats.Memoizer
cleanup, close, close, deleteMemo, deleteQuietly, generateMemo, getDeser, getMemoFile, getMemoFile, getMetadataStore, getService, handleMetadataStore, isLoadedFromMemo, isSavedToMemo, isVersionChecking, isWritableDirectory, loadMemo, main, saveMemo, setMetadataStore, setVersionChecking, skipSave, stopWatch, versionMismatch
-
Methods inherited from class loci.formats.ReaderWrapper
coreIndexToSeries, duplicate, fileGroupOption, get16BitLookupTable, get8BitLookupTable, getAdvancedSeriesUsedFiles, getAdvancedUsedFiles, getBitsPerPixel, getCoreIndex, getCoreMetadataList, getCurrentFile, getDatasetStructureDescription, getDimensionOrder, getDomains, getEffectiveSizeC, getFillColor, getFormat, getGlobalMetadata, getImageCount, getIndex, getIndex, getMetadataOptions, getMetadataStoreRoot, getMetadataValue, getModuloC, getModuloT, getModuloZ, getNativeDataType, getOptimalTileHeight, getOptimalTileWidth, getPixelType, getPossibleDomains, getReader, getRequiredDirectories, getResolution, getResolutionCount, getRGBChannelCount, getSeries, getSeriesCount, getSeriesMetadata, getSeriesMetadataValue, getSeriesUsedFiles, getSeriesUsedFiles, getSizeC, getSizeT, getSizeX, getSizeY, getSizeZ, getSuffixes, getSupportedMetadataLevels, getThumbSizeX, getThumbSizeY, getTileCodec, getTileCodecOptions, getTileColumns, getTileRows, getUnderlyingReaders, getUsedFiles, getUsedFiles, getZCTCoords, getZCTModuloCoords, hasCompanionFiles, hasFlattenedResolutions, isFalseColor, isGroupFiles, isIndexed, isInterleaved, isInterleaved, isLittleEndian, isMetadataComplete, isMetadataFiltered, isNormalized, isOrderCertain, isOriginalMetadataPopulated, isRGB, isSingleFile, isThisType, isThisType, isThisType, isThisType, isThumbnailSeries, openBytes, openBytes, openBytes, openBytes, openCompressedBytes, openCompressedBytes, openPlane, openThumbBytes, reopenFile, seriesToCoreIndex, setCoreIndex, setFillColor, setFlattenedResolutions, setGroupFiles, setMetadataFiltered, setMetadataOptions, setNormalized, setOriginalMetadataPopulated, setResolution, setSeries, unwrap, unwrap, unwrap
-
-
-
-
Constructor Detail
-
MemoizerFallback
public MemoizerFallback(loci.formats.IFormatReader reader, long minimumElapsed, java.io.File directory, java.util.Collection<MemoizerReadOnly> fallbacks)
AsMemoizer(IFormatReader, long, File)
with an additionalfallbacks
argument that provides other memoizers from which this instance may copy a memo. Thosefallback
memoizers have onlyMemoizer.getMemoFile(String)
called, to find their memo to copy.
-
-