BatchFailureListener<WriteBatch>
,
WriteFailureListener
public class JobInformationRecorder.addWriteBatchFailureInformationListener extends java.lang.Object implements WriteFailureListener
Constructor | Description |
---|---|
addWriteBatchFailureInformationListener() |
Modifier and Type | Method | Description |
---|---|---|
void |
processFailure(WriteBatch batch,
java.lang.Throwable failure) |
The method called when a failure occurs.
|
public addWriteBatchFailureInformationListener()
public void processFailure(WriteBatch batch, java.lang.Throwable failure)
BatchFailureListener
processFailure
in interface BatchFailureListener<WriteBatch>
processFailure
in interface WriteFailureListener
batch
- the batch of items that failed
processingfailure
- the exception that caused the
failureCopyright © 2022 MarkLogic Corporation