All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.updater.WriteToGraphCallback Maven / Gradle / Ivy

package org.opentripplanner.updater;

import java.util.concurrent.Future;

public interface WriteToGraphCallback {
  /**
   * This is the method to use to modify the graph from the updaters. The runnables will be
   * scheduled after each other, guaranteeing that only one of these runnables will be active at any
   * time. If a particular GraphUpdater calls this method on more than one GraphWriterRunnable, they
   * should be executed in the same order that GraphUpdater made the calls.
   *
   * @param runnable is a graph writer runnable
   */
  Future execute(GraphWriterRunnable runnable);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy