This policy provides a Compute Grid implementation of the ThresholdPolicy interface.
The RecordBasedThresholdPolicy is applicable only if the ThresholdBatchStep is used. It counts the number of error records processed if the result is greater than the threshold forces the job to go into restartable state.
Property | Value | Description |
---|---|---|
debug |
true or false (default is false) |
Enable tracing and debugging on the step |
minimum_threshold_size |
Integer value (default is 20) |
The minimum number of records to process before checking for threshold breach. |
error_threshold |
Double value (default is 100) |
The number of error records. |
... <props> <prop name="threshold_policy" value="com.ibm.websphere.batch.devframework.thresholdpolicies.RecordBasedThresholdPolicy"/> </props> ...