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

Provide a stop() call for chunk steps #89

Open follis opened 4 years ago

follis commented 4 years ago

Originally opened as bug 7361 by ScottKurz

--------------Original Comment History---------------------------- Comment from = ScottKurz on 2015-10-22 18:25:40 +0000

There are cases where it can be useful for an application to get control on an operator stop command when the app is stuck within one of the read/process/write methods.

Not sure what the best place to hang this off of would be. Maybe a new method on the ChunkListener. An alternative would be to use StepListener (though then it would probably apply to Batchlet as well and we'd need to define the order).