Interface CommitLogTransfer

All Known Implementing Classes:
BlackHoleCommitLogTransfer

public interface CommitLogTransfer
Interface used to transfer commit logs. Implementations for Cassandra 4 have to
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Destroy resources used by the commit log transfer
    void
    Get all error commitLog files into cdc_raw directory for re-processing.
    default void
    init(Properties commitLogTransferConfigs)
    Initialize resources required by the commit log transfer
    void
    Transfer a commit log that has not been successfully processed.
    void
    Transfer a commit log that has been successfully processed.
  • Method Details

    • 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.