Class GribCollectionImmutable

  • All Implemented Interfaces:
    Closeable, AutoCloseable, ucar.nc2.util.cache.FileCacheable
    Direct Known Subclasses:
    Grib1Collection, Grib2Collection, PartitionCollectionImmutable

    @Immutable
    public abstract class GribCollectionImmutable
    extends Object
    implements Closeable, ucar.nc2.util.cache.FileCacheable
    An Immutable GribCollection, corresponds to one index (ncx) file. The index file has already been read; it is opened and the closed when a variable is first accessed to read in the record array (sa).

    Could use the Proto equivalents, and eliminate GribCollectionMutable ?

    Since:
    11/10/2014
    • Field Detail

      • countGC

        public static int countGC
      • name

        protected final String name
      • directory

        protected final File directory
      • config

        protected final thredds.featurecollection.FeatureCollectionConfig config
      • isGrib1

        public final boolean isGrib1
      • info

        protected final ucar.nc2.grib.collection.GribCollectionImmutable.Info info
      • dateRange

        protected final ucar.nc2.time.CalendarDateRange dateRange
      • fileMap

        protected final Map<Integer,​thredds.inventory.MFile> fileMap
      • indexFilename

        protected final String indexFilename