Uses of Class
com.broadleafcommerce.common.dataimport.messaging.BatchRequest
Packages that use BatchRequest
Package
Description
-
Uses of BatchRequest in com.broadleafcommerce.common.dataimport
Methods in com.broadleafcommerce.common.dataimport with parameters of type BatchRequestModifier and TypeMethodDescriptionbooleanImportBatchHandler.canHandle(BatchRequest batch) Whether or not this handler can actually deal with the given batch.voidAbstractImportBatchHandler.finalizeContextForBatch(@NonNull BatchRequest batch) Method to clear any state after processing a batch.default voidImportBatchHandler.finalizeContextForBatch(BatchRequest batch) protected com.broadleafcommerce.common.extension.importing.ImportContextConfigurationProperties.ImportContextPropertiesAbstractImportBatchHandler.getImportContextProperties(BatchRequest batchRequest) ImportBatchHandler.handle(BatchRequest batch) Handle the batch and emit completions for all items within the batch.voidAbstractImportBatchHandler.initializeContextForBatch(@NonNull BatchRequest batch) Method to initialize fields for a batch.default voidImportBatchHandler.initializeContextForBatch(BatchRequest batch) Handles initializing some context state before handling this batch.protected <T> List<BatchCompletionRecord>AbstractImportBatchHandler.persist(BatchRequest batch, List<PersistenceRequest<T>> requests, BatchCreator<T> creator, BatchUpdater<T> updater, Function<T, String> idExtractor) Perform a persist of the parsed out domain specified asPersistenceRequestsprotected <T> List<BatchCompletionRecord>AbstractImportBatchHandler.persist(BatchRequest batch, List<PersistenceRequest<T>> requests, BatchCreator<T> creator, BatchUpdater<T> updater, Function<T, String> idExtractor, int batchSize) This is a convenience wrapper aroundAbstractImportBatchHandler.persist(BatchRequest, List, BatchCreator, BatchUpdater, Function)to submit therequestsin chunks/smaller-batches. -
Uses of BatchRequest in com.broadleafcommerce.common.dataimport.messaging
Methods in com.broadleafcommerce.common.dataimport.messaging with parameters of type BatchRequestModifier and TypeMethodDescriptionprotected List<BatchCompletionRecord>BatchListener.buildErrorCompletionsForUnacknowledgedRecords(@NonNull BatchCompletion completion, @NonNull BatchRequest request) Method parameters in com.broadleafcommerce.common.dataimport.messaging with type arguments of type BatchRequestModifier and TypeMethodDescriptionprotected BatchCompletionBatchListener.doImport(@NonNull org.springframework.messaging.Message<BatchRequest> message) org.springframework.messaging.Message<BatchCompletion>BatchListener.listen(@NonNull org.springframework.messaging.Message<BatchRequest> message) Channel consumption for a batch request