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