Package org.springframework.batch.core.launch

Examples of org.springframework.batch.core.launch.JobOperator.stop()


        .addLong("test", 1L)
        .toJobParameters());

    Thread.sleep(1000);

    jobOperator.stop(jobExecution.getId());

    while(jobExecution.isRunning()) {
      // wait for async launched job to complete execution
    }
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.