BatchEvent
public static interface RowBatchFailureListener.RowBatchFailureEvent extends BatchEvent
Modifier and Type | Method | Description |
---|---|---|
int |
getBatchRetries() |
The number of retries so far for this batch of
rows.
|
RowBatchFailureListener.BatchFailureDisposition |
getDisposition() |
Whether the RowBatcher should retry the attempt
to retrieve the batch of rows, skip the batch of rows, or stop the
job.
|
long |
getFailedJobBatches() |
The total number of batches skipped so far
during the job.
|
java.lang.String |
getLowerBound() |
The lower boundary for the requested batch of
rows (useful primarily for logging).
|
int |
getMaxRetries() |
The number of retries before RowBatcher skips
the batch.
|
java.lang.String |
getUpperBound() |
The upper boundary for the requested batch of
rows (useful primarily for logging).
|
RowBatchFailureListener.RowBatchFailureEvent |
withDisposition(RowBatchFailureListener.BatchFailureDisposition disposition) |
Specifies whether to retry the attempt to
retrieve the batch of rows, skip the batch of rows, or stop the
job.
|
RowBatchFailureListener.RowBatchFailureEvent |
withMaxRetries(int maxRetries) |
Specifies the number of retries before skipping
the batch.
|
getClient,
getJobBatchNumber,
getJobTicket,
getTimestamp
RowBatchFailureListener.BatchFailureDisposition getDisposition()
RowBatchFailureListener.RowBatchFailureEvent withDisposition(RowBatchFailureListener.BatchFailureDisposition disposition)
disposition
- how the RowBatcher should dispose of
the failureint getMaxRetries()
RowBatchFailureListener.RowBatchFailureEvent withMaxRetries(int maxRetries)
maxRetries
- the maximum number of retriesjava.lang.String getLowerBound()
java.lang.String getUpperBound()
int getBatchRetries()
long getFailedJobBatches()
Copyright © 2013-2019 MarkLogic Corporation.