Class GuardedDatasetCacheAndClone

java.lang.Object
thredds.server.opendap.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 Details

    • log

      protected static org.slf4j.Logger log
  • Constructor Details

    • GuardedDatasetCacheAndClone

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

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object