jakartaee / batch

The Jakarta Batch project produces the Batch Specification and API.
https://projects.eclipse.org/projects/ee4j.batch
Apache License 2.0
13 stars 17 forks source link

Standardize waiting/blocking for job termination #78

Open follis opened 4 years ago

follis commented 4 years ago

Originally opened as bug 7284 by ScottKurz

--------------Original Comment History---------------------------- Comment from = ScottKurz on 2015-09-03 21:07:07 +0000

See some ideas discussed in Bug 5370, where we agreed that in 1.0 all we had was async start/restart.


Comment from = rmannibucau on 2015-09-05 09:11:58 +0000

An interesting option would be to add a startWithHandler(jobName, props) - name is very bad - returning a Future or CompletableStage. This would keep current behavior the same but would allow to wait super easily on the end of the job as a user.