public interface ThresholdPolicy
Modifier and Type | Field and Description |
---|---|
static int |
NO_THRESHOLD_VIOLATION
Constant indicating threshold violation has not occured
|
static int |
THRESHOLD_VIOLATION
Constant indicating threshold violation has occured.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Called during step shutdown allows any cleanup to occur
|
void |
initialize(java.util.Properties props)
This method is invoked during StepSetup allows any configuration
properties passed via xJCL to be read
|
int |
invalidRecordEncountered(int currentRecordCount)
This method is invoked by the ThresholdBatchStep each time the BatchRecordProcessor
returns a null value.
|
static final int NO_THRESHOLD_VIOLATION
static final int THRESHOLD_VIOLATION
void initialize(java.util.Properties props)
props
- int invalidRecordEncountered(int currentRecordCount)
currentRecordCount:
- The count of the current record being processedvoid destroy()