tds/src/main/java/thredds/featurecollection/InvDatasetFeatureCollection.java
@Subscribe
  public void processEvent(CollectionUpdateEvent event) {
    if (!config.collectionName.equals(event.getCollectionName())) return; // not for me

    try {
      update(event.getType());
    } catch (IOException e) {
      logger.error("Error processing event", e);
    }
  }
@Subscribe
  public void processEvent(CollectionUpdateEvent event) {
    if (!config.collectionName.equals(event.getCollectionName())) return; // not for me

    try {
      update(event.getType());
    } catch (IOException e) {
      logger.error("Error processing event", e);
    }
  }
@ Subscribe public void processEvent ( CollectionUpdateEvent event ) { if ( ! config . collectionName . equals ( event . getCollectionName ( ) ) ) return ; // not for me try { update ( event . getType ( ) ) ; } catch ( IOException e ) { logger . error ( "Error processing event" , e ) ; } }
called by eventBus, this is where the trigger comes in
called by eventBus this is where the trigger comes in