|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdods.servers.agg.Dataset
dods.servers.agg.DODSDataset
public class DODSDataset
This is a proxy for a dataset on another DODS server.
Nested Class Summary | |
---|---|
static class |
DODSDataset.DODSFactory
This is public as an artifact of implementing an interface. |
Method Summary | |
---|---|
static Dataset |
acquire(String extPath,
String intPath,
InvCatalog.Dataset invDS,
boolean block)
This finds the named dataset and gets a lock on it. |
void |
close()
|
static Iterator |
getCache()
|
static int |
getCacheSize()
get current size of the cache. |
protected DDS |
getClientDDS()
|
DAS |
getDAS()
Get the DAS for this Dataset. |
ServerDDS |
getDDS()
Get the DDS for this Dataset. |
static void |
setCacheMax(int maxCached)
set the size of the open dataset cache. |
static void |
setWaitTime(long wait)
set maximum time to wait before opening another copy of the dataset. |
Methods inherited from class dods.servers.agg.Dataset |
---|
acquire, attempt, getCatalogDataset, getExternalPath, getInternalPath, isLockedByMe, release, setDebug, whoHasLock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setCacheMax(int maxCached)
public static void setWaitTime(long wait)
wait
- : time in msecpublic static int getCacheSize()
public static Iterator getCache()
public static Dataset acquire(String extPath, String intPath, InvCatalog.Dataset invDS, boolean block) throws IOException
extPath
- : external URL of datasetintPath
- : internal URL of datasetinvDS
- : InvCatalog.Dataset objectblock
- : if true, dont return till you got it. if false, return if cannot acquire
IOException
public ServerDDS getDDS()
GuardedDataset
getDDS
in interface GuardedDataset
getDDS
in class Dataset
public DAS getDAS()
GuardedDataset
getDAS
in interface GuardedDataset
getDAS
in class Dataset
protected DDS getClientDDS()
getClientDDS
in class Dataset
public void close()
close
in class Dataset
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |