Package thredds.server.opendap
Class GuardedDatasetImpl
- java.lang.Object
-
- thredds.server.opendap.GuardedDatasetImpl
-
- All Implemented Interfaces:
Closeable,AutoCloseable,GuardedDataset
@Immutable public class GuardedDatasetImpl extends Object implements GuardedDataset
Regenerate DDS, DAS each time
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description GuardedDatasetImpl(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()Get the DAS for this Dataset.ServerDDSgetDDS()Get the DDS for this Dataset.voidrelease()Release the lock, if any, on this dataset.StringtoString()
-
-
-
Constructor Detail
-
GuardedDatasetImpl
public GuardedDatasetImpl(String reqPath, ucar.nc2.NetcdfFile ncfile, boolean hasSession)
-
-
Method Detail
-
release
public void release()
Description copied from interface:GuardedDatasetRelease the lock, if any, on this dataset.- Specified by:
releasein interfaceGuardedDataset
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceGuardedDataset
-
getDDS
public ServerDDS getDDS()
Description copied from interface:GuardedDatasetGet the DDS for this Dataset.- Specified by:
getDDSin interfaceGuardedDataset- Returns:
- the ServerDDS
-
getDAS
public opendap.dap.DAS getDAS()
Description copied from interface:GuardedDatasetGet the DAS for this Dataset.- Specified by:
getDASin interfaceGuardedDataset- Returns:
- the DAS
-
-