Interface FailureListener
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Deprecated @FunctionalInterface public interface FailureListener
Deprecated.UseBatchListenerinstead.Listener interface to add behavior when there is some failure executing batch operations on databases (e.g. write rows to file).- Since:
- 2.1.11
- Author:
- Helder Martins (helder.martins@feedzai.com).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidonFailure(BatchEntry[] rowsFailed)Deprecated.Callback indicating that one or more rows have failed to be persisted.
-
-
-
Method Detail
-
onFailure
void onFailure(BatchEntry[] rowsFailed)
Deprecated.Callback indicating that one or more rows have failed to be persisted.- Parameters:
rowsFailed- An array ofentrieswith the row or rows that failed to be persisted.
-
-