Package thredds.server.opendap
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 Summary
Fields Modifier and Type Field Description protected static org.slf4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description GuardedDatasetCacheAndClone(String reqPath, ucar.nc2.NetcdfFile ncfile, boolean hasSession)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()opendap.dap.DASgetDAS()opendap.servers.ServerDDSgetDDS()voidrelease()StringtoString()
-
-
-
Constructor Detail
-
GuardedDatasetCacheAndClone
public GuardedDatasetCacheAndClone(String reqPath, ucar.nc2.NetcdfFile ncfile, boolean hasSession)
-
-
Method Detail
-
release
public void release()
- Specified by:
releasein interfaceopendap.servlet.GuardedDataset
-
close
public void close()
- Specified by:
closein interfaceopendap.servlet.GuardedDataset
-
getDDS
public opendap.servers.ServerDDS getDDS()
- Specified by:
getDDSin interfaceopendap.servlet.GuardedDataset
-
getDAS
public opendap.dap.DAS getDAS()
- Specified by:
getDASin interfaceopendap.servlet.GuardedDataset
-
-