Class ExportOrchestrator

java.lang.Object
com.seeq.link.sdk.export.ExportOrchestrator

public class ExportOrchestrator extends Object
Facilitates all aspects of exporting data to the datasource.
  • Constructor Details

    • ExportOrchestrator

      public ExportOrchestrator(DatasourceConnectionV2 connection, ExportSamples exportSamplesInterface, DatasourceConnectionServiceV2 connectionService, ExportConnectionConfigV1 config, int putSamplesPageSize, Runnable callback)
      Instantiates a new ExportOrchestrator. Does not initialize it -- call Initialize() after construction.
      Parameters:
      connection - The DatasourceConnectionV2 interface as implemented by the connection
      exportSamplesInterface - The ExportSamples interface as implemented by the connection
      connectionService - The DatasourceConnectionServiceV2 for the connection
      config - The ExportConnectionConfigV1 configuration for the export activity
      putSamplesPageSize - The number of samples to supply to the datasource per write call
      callback - Function for use in unit tests to avoid waiting too long before doing checks
      See Also:
  • Method Details

    • getName

      public String getName()
    • initialize

      public void initialize()
      Kicks off the main exporting loop that performs the exporting.
    • destroy

      public void destroy()
      Cancels all jobs and shuts down the main exporting loop.