Interface BatchListener


  • public interface BatchListener
    Listener interface to add behavior after executing batch operations on databases (e.g. write rows to file).
    Since:
    2.8.1
    Author:
    João Fernandes (joao.fernandes@feedzai.com)
    • Method Detail

      • onFailure

        void onFailure​(BatchEntry[] rowsFailed)
        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.
      • onSuccess

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