Interface CommitLogTransfer

  • All Known Implementing Classes:
    BlackHoleCommitLogTransfer

    public interface CommitLogTransfer
    Interface used to transfer commit logs
    • Method Detail

      • init

        default void init​(Properties commitLogTransferConfigs)
                   throws Exception
        Initialize resources required by the commit log transfer
        Throws:
        Exception
      • destroy

        default void destroy()
                      throws Exception
        Destroy resources used by the commit log transfer
        Throws:
        Exception
      • onSuccessTransfer

        void onSuccessTransfer​(File file)
        Transfer a commit log that has been successfully processed.
      • onErrorTransfer

        void onErrorTransfer​(File file)
        Transfer a commit log that has not been successfully processed.
      • getErrorCommitLogFiles

        void getErrorCommitLogFiles()
        Get all error commitLog files into cdc_raw directory for re-processing.