@ThreadSafe public class CatalogCollectionManager extends MFileCollectionManager implements CatalogCrawler.Listener
CollectionManager.ChangeChecker, CollectionManager.Force, CollectionManager.TriggerEvent, CollectionManager.TriggerListener, CollectionManager.TriggerTypeCATALOG, config, dateExtractor, startPartitionauxInfo, changeChecker, collectionName, protoChoice, recheck| Constructor and Description |
|---|
CatalogCollectionManager(String collection) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCatalogRef(InvCatalogRef dd,
Object context)
Gets called for each catalogRef found
|
void |
getDataset(InvDataset ds,
Object context)
Gets called for each dataset found.
|
protected boolean |
hasScans() |
static void |
main(String[] arg) |
protected void |
reallyScan(Map<String,MFile> map) |
addDirectoryScan, extractRunDate, getController, getFiles, getLastScanned, getOlderThanFilterInMSecs, getRoot, getStartCollection, hasDateExtractor, isScanNeeded, open, openWithRecheck, scan, scanIfNeeded, setController, setDateExtractor, toStringaddEventListener, close, createListenerManager, deleteOld, enableMetadataManager, getAuxInfo, getCollectionName, getFilenames, getLatestFile, getMetadata, getProtoIndex, getRecheck, isStatic, putAuxInfo, putMetadata, removeEventListener, resetProto, setChangeChecker, setStatic, updateNocheckpublic CatalogCollectionManager(String collection)
protected boolean hasScans()
hasScans in class MFileCollectionManagerprotected void reallyScan(Map<String,MFile> map) throws IOException
reallyScan in class MFileCollectionManagerIOExceptionpublic void getDataset(InvDataset ds, Object context)
CatalogCrawler.ListenergetDataset in interface CatalogCrawler.Listenerds - the datasetcontext - caller can pass this object in (used for thread safety)public boolean getCatalogRef(InvCatalogRef dd, Object context)
CatalogCrawler.ListenergetCatalogRef in interface CatalogCrawler.Listenerdd - the datasetcontext - caller can pass this object in (used for thread safety)public static void main(String[] arg) throws IOException
IOExceptionCopyright © 1999-2013 UCAR/Unidata. All Rights Reserved.