Interface CoordinationSignalListener

  • All Known Implementing Classes:
    CoordinatedImportCoordinator

    public interface CoordinationSignalListener
    A listener interface that receives coordination signals. It works in cooperation with CoordinatedTransportExtension to enable coordinated write
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onImportReady​(java.lang.String jobId)
      The method is called when the write coordinator, i.e.
      void onStageReady​(java.lang.String jobId)
      The method is called when the write coordinator, i.e.
    • Method Detail

      • onStageReady

        void onStageReady​(java.lang.String jobId)
        The method is called when the write coordinator, i.e. implementation of CoordinatedTransportExtension, decides that it is ready to stage SSTable bundles on all participating clusters.
        Parameters:
        jobId - the unique identifier for the job
      • onImportReady

        void onImportReady​(java.lang.String jobId)
        The method is called when the write coordinator, i.e. implementation of CoordinatedTransportExtension, decides that it is ready to apply/import SSTables on all participating clusters.
        Parameters:
        jobId - the unique identifier for the job