Metrics and step execution
Through the metrics, you can monitor the following properties described in the javax.batch.runtime.Metric enum
:
READ_COUNT
: How many times the item is read inside a step. In the case of the Payroll job seen in the Chunks section, we will have three read items for the job at the end.WRITE_COUNT
: How many times the item is written inside a step. In the case of the payroll job seen in the Chunks section, we will have three written items for the job at the end.COMMIT_COUNT
: How many commits are done to write the items. In the case of the payroll job seen in the Chunks section, we have two commits 2+1 at the end.ROLLBACK_COUNT
: The number of rollbacked items. If we get errors in the write of the items, it will increment.READ_SKIP_COUNT
: An item can be skipped according to the batch status returned by the read of item.PROCESS_SKIP_COUNT
: An item can be skipped according to the batch status returned by the process of item.WRITE_SKIP_COUNT
: An item can be skipped according...