A well-behaved batchlet responds to stop requests by implementing the stop method.
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public void | stop()
The stop method is invoked by the batch runtime as part of JobOperator.stop() method processing. |
| process | back to summary |
|---|---|
| public String process() throws Exception The process method does the work of the batchlet. If this method throws an exception, the batchlet step ends with a batch status of FAILED. | |
| stop | back to summary |
|---|---|
| public void stop() throws Exception The stop method is invoked by the batch runtime as part of JobOperator.stop() method processing. This method is invoked on a thread other than the thread on which the batchlet process method is running.
| |