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

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


    // Verify that all of the replication sequences made it to the
    // destination.
    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

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.