Interface Controller


public interface Controller
Controls various aspect of the exporting process.
  • Method Details

    • updateLastExportedRecordPosition

      void updateLastExportedRecordPosition(long position)
      Signals to the broker that the exporter has successfully exported all records up to and including the record at .
      Parameters:
      position - the latest successfully exported record position
    • scheduleCancellableTask

      ScheduledTask scheduleCancellableTask(Duration delay, Runnable task)
      Schedules a cancellable to be ran after has expired.
      Parameters:
      delay - time to wait until the task is ran
      task - the task to run
      Returns:
      cancellable task.