protected void finishConstruction() { CollectionUpdater.INSTANCE.scheduleTasks(config, this, logger); }
@Override // DatasetCollectionManager was changed asynchronously public void handleCollectionEvent(CollectionManager.TriggerEvent event) { // if this is the TDS, and its using the TDM, then you're not allowed to update boolean tdsUsingTdm = !CollectionUpdater.INSTANCE.isTdm() && config.tdmConfig != null; if (event.getType() == CollectionManager.TriggerType.updateNocheck) update(CollectionManager.Force.nocheck); else if (event.getType() == CollectionManager.TriggerType.update) //update(tdsUsingTdm ? CollectionManager.Force.nocheck : CollectionManager.Force.test); // this may be startup update(CollectionManager.Force.always); else if (event.getType() == CollectionManager.TriggerType.proto) updateProto(); }
protected void finishConstruction() { dcm.addEventListener(this); // now wired for events CollectionUpdater.INSTANCE.scheduleTasks(config, dcm); // see if any background tasks are needed }