Package thredds.featurecollection
Class CollectionUpdater
- java.lang.Object
-
- thredds.featurecollection.CollectionUpdater
-
@ThreadSafe @Component public class CollectionUpdater extends Object
Handle background tasks for updating collections. Singleton, thread safe. Cover for quartz library. Only used in tds/tdm.- Since:
- Nov 21, 2010
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCollectionUpdater.UpdateCollectionJob
-
Constructor Summary
Constructors Constructor Description CollectionUpdater()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.quartz.SchedulergetScheduler()booleanisTdm()voidscheduleTasks(thredds.featurecollection.FeatureCollectionConfig config, org.slf4j.Logger logger)Look at config and decide if tasks need to be startedvoidsetEventBus(com.google.common.eventbus.EventBus eventBus)voidsetTdm(boolean tdm)voidshutdown()
-
-
-
Method Detail
-
setTdm
public void setTdm(boolean tdm)
-
isTdm
public boolean isTdm()
-
setEventBus
public void setEventBus(com.google.common.eventbus.EventBus eventBus)
-
getScheduler
public org.quartz.Scheduler getScheduler()
-
scheduleTasks
public void scheduleTasks(thredds.featurecollection.FeatureCollectionConfig config, org.slf4j.Logger logger)Look at config and decide if tasks need to be started
-
shutdown
public void shutdown()
-
-