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 SummaryModifier and TypeMethodDescriptionvoidallBatchesCompleted(Import metadata) Once all of the batches have been read and processedvoidprocessBatch(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- 
processBatchvoid 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-
 
- 
allBatchesCompletedOnce all of the batches have been read and processed- Parameters:
- metadata-
 
 
-