public interface Batchlet
A well-behaved batchlet responds to stop requests by implementing the stop method.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
process()
The process method does the work
of the batchlet.
|
void |
stop()
The stop method is invoked by the batch
runtime as part of JobOperator.stop()
method processing.
|
java.lang.String process() throws java.lang.Exception
java.lang.Exception
- if an error occurs.void stop() throws java.lang.Exception
java.lang.Exception
- if an error occurs.