Package org.openstreetmap.osmosis.core.pipeline.common

Examples of org.openstreetmap.osmosis.core.pipeline.common.TaskRunner.join()


    Assert.assertTrue("The state file for sequence " + sequenceCount + " doesn't exist.", finalStateFile.exists());

    // Shut down the pipelines.
    clientRunner.interrupt();
    serverRunner.interrupt();
    clientRunner.join();
    serverRunner.join();
    source.release();
  }
}
View Full Code Here


        taskRunner = taskRunners.get(i);
       
        LOG.fine("Waiting for changeset worker " + i + " to complete.");
       
        try {
          taskRunner.join();
        } catch (InterruptedException e) {
          // We are already in an error condition so log and continue.
          LOG.log(Level.WARNING, "The wait for task completion was interrupted.", e);
        }
       
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.