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.
    Use BatchListener instead.
    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 Detail

      • onFailure

        void onFailure​(BatchEntry[] rowsFailed)
        Deprecated.
        Callback indicating that one or more rows have failed to be persisted.
        Parameters:
        rowsFailed - An array of entries with the row or rows that failed to be persisted.