Interface BatchManager

All Known Implementing Classes:
DefaultBatchManager

public interface BatchManager
Manages sending notifications, etc for a batch within an import
Author:
Phillip Verheyden (phillipuniverse)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Once all of the batches have been read and processed
    void
    processBatch(List<com.broadleafcommerce.common.dataimport.messaging.BatchRecord> records, Import metadata)
    Given a batch of items that have been read from a flat file, this is responsible for the processing after reading.
  • Method Details

    • processBatch

      void processBatch(List<com.broadleafcommerce.common.dataimport.messaging.BatchRecord> records, Import metadata)
      Given a batch of items that have been read from a flat file, this is responsible for the processing after reading. This will generally publish a message to a broker to handle the persistence of these records within a particular resource tier
      Parameters:
      records -
      metadata -
    • allBatchesCompleted

      void allBatchesCompleted(Import metadata)
      Once all of the batches have been read and processed
      Parameters:
      metadata -