Class 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 a Memoizer this class actually wraps multiple memoizers. If this instance's memoizer does not already have a memo file available on setId(String) then a copy is first taken from one of the other memoizers, preferring the earlier.
    Since:
    5.4.6
    • Nested Class Summary

      • Nested classes/interfaces inherited from class loci.formats.Memoizer

        loci.formats.Memoizer.Deser, loci.formats.Memoizer.KryoDeser
    • Field Summary

      • Fields inherited from class loci.formats.Memoizer

        DEFAULT_MINIMUM_ELAPSED, ser, VERSION
      • Fields inherited from class loci.formats.ReaderWrapper

        reader
      • Fields inherited from interface loci.formats.IFormatReader

        CAN_GROUP, CANNOT_GROUP, MUST_GROUP
    • Constructor Summary

      Constructors 
      Constructor Description
      MemoizerFallback​(loci.formats.IFormatReader reader, long minimumElapsed, java.io.File directory, java.util.Collection<MemoizerReadOnly> fallbacks)
      As Memoizer(IFormatReader, long, File) with an additional fallbacks 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MemoizerFallback

        public MemoizerFallback​(loci.formats.IFormatReader reader,
                                long minimumElapsed,
                                java.io.File directory,
                                java.util.Collection<MemoizerReadOnly> fallbacks)
        As Memoizer(IFormatReader, long, File) with an additional fallbacks argument that provides other memoizers from which this instance may copy a memo. Those fallback memoizers have only Memoizer.getMemoFile(String) called, to find their memo to copy.
    • Method Detail

      • setId

        public void setId​(java.lang.String id)
                   throws loci.formats.FormatException,
                          java.io.IOException
        Specified by:
        setId in interface loci.formats.IFormatHandler
        Overrides:
        setId in class loci.formats.Memoizer
        Throws:
        loci.formats.FormatException
        java.io.IOException