dods.servers.agg
Class Dataset
java.lang.Object
dods.servers.agg.Dataset
- All Implemented Interfaces:
- GuardedDataset
- Direct Known Subclasses:
- AggDataset, DODSDataset, NcDataset
public abstract class Dataset
- extends Object
- implements GuardedDataset
Constructor Summary |
protected |
Dataset(String extPath,
String intPath,
InvCatalog.Dataset invDS)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dataset
protected Dataset(String extPath,
String intPath,
InvCatalog.Dataset invDS)
getDDS
public abstract ServerDDS getDDS()
- Description copied from interface:
GuardedDataset
- Get the DDS for this Dataset.
- Specified by:
getDDS
in interface GuardedDataset
- Returns:
- the ServerDDS
getDAS
public abstract DAS getDAS()
- Description copied from interface:
GuardedDataset
- Get the DAS for this Dataset.
- Specified by:
getDAS
in interface GuardedDataset
- Returns:
- the DAS
close
public abstract void close()
throws IOException
- Throws:
IOException
getClientDDS
protected abstract DDS getClientDDS()
getExternalPath
public String getExternalPath()
getInternalPath
public String getInternalPath()
getCatalogDataset
public InvCatalog.Dataset getCatalogDataset()
setDebug
public void setDebug(boolean b)
acquire
public void acquire()
attempt
public boolean attempt(long msecs)
release
public void release()
- Description copied from interface:
GuardedDataset
- Release the lock, if any, on this dataset.
- Specified by:
release
in interface GuardedDataset
isLockedByMe
public boolean isLockedByMe()
whoHasLock
public String whoHasLock()