Package thredds.server.catalog.tracker
Class CatalogTracker
java.lang.Object
thredds.server.catalog.tracker.CatalogTracker
Track the list of catalogs.
Used to check if any have changed, without having to read the catalog tree.
- Since:
- 6/22/2015
-
Constructor Summary
ConstructorsConstructorDescriptionCatalogTracker(String pathname, boolean startOver, int expectedSize, long nextCatId) -
Method Summary
Modifier and TypeMethodDescriptionIterable<? extends CatalogExt>longlongput(CatalogExt cat) removeCatalog(String catPath) voidsave()intsize()
-
Constructor Details
-
CatalogTracker
-
-
Method Details
-
put
-
get
-
removeCatalog
-
getCatalogs
-
save
- Throws:
IOException
-
size
public int size() -
getNextCatId
public long getNextCatId()
-