Class GuardedDatasetCacheAndClone

  • All Implemented Interfaces:
    opendap.servlet.GuardedDataset

    @Immutable
    public class GuardedDatasetCacheAndClone
    extends Object
    implements opendap.servlet.GuardedDataset
    This creates and caches DDS, DAS, then clones them when they are needed.
    • Field Detail

      • log

        protected static org.slf4j.Logger log
    • Constructor Detail

      • GuardedDatasetCacheAndClone

        public GuardedDatasetCacheAndClone​(String reqPath,
                                           ucar.nc2.NetcdfFile ncfile,
                                           boolean hasSession)
    • Method Detail

      • release

        public void release()
        Specified by:
        release in interface opendap.servlet.GuardedDataset
      • close

        public void close()
        Specified by:
        close in interface opendap.servlet.GuardedDataset
      • getDDS

        public opendap.servers.ServerDDS getDDS()
        Specified by:
        getDDS in interface opendap.servlet.GuardedDataset
      • getDAS

        public opendap.dap.DAS getDAS()
        Specified by:
        getDAS in interface opendap.servlet.GuardedDataset