Class MemoizerReadOnly

  • 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 MemoizerReadOnly
    extends loci.formats.Memoizer
    Adapts Memoizer to tolerate cache directories that it may not write.
    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
      MemoizerReadOnly​(loci.formats.IFormatReader reader, long minimumElapsed, java.io.File directory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean isWritableDirectory​(java.io.File writeDirectory)
      n.b.: Overridden to test only read access, not write access.
      • Methods inherited from class loci.formats.Memoizer

        cleanup, close, close, deleteMemo, deleteQuietly, generateMemo, getDeser, getMemoFile, getMemoFile, getMetadataStore, getService, handleMetadataStore, isLoadedFromMemo, isSavedToMemo, isVersionChecking, loadMemo, main, saveMemo, setId, 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

      • MemoizerReadOnly

        public MemoizerReadOnly​(loci.formats.IFormatReader reader,
                                long minimumElapsed,
                                java.io.File directory)
    • Method Detail

      • isWritableDirectory

        protected boolean isWritableDirectory​(java.io.File writeDirectory)
        n.b.: Overridden to test only read access, not write access.
        Overrides:
        isWritableDirectory in class loci.formats.Memoizer