Spring Batch
重複実行
code:java
public class SimpleJobRepository implements JobRepository {
@Override
public JobExecution createJobExecution(String jobName, JobParameters jobParameters) ... {
...
/*
* Find all jobs matching the runtime information.
*
* If this method is transactional, and the isolation level is
* REPEATABLE_READ or better, another launcher trying to start the same
* job in another thread or process will block until this transaction
* has finished.
*/
...
}