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 TypeMethodDescriptionboolean
ImportBatchHandler.canHandle
(BatchRequest batch) Whether or not this handler can actually deal with the given batch.void
AbstractImportBatchHandler.finalizeContextForBatch
(@NonNull BatchRequest batch) Method to clear any state after processing a batch.default void
ImportBatchHandler.finalizeContextForBatch
(BatchRequest batch) protected com.broadleafcommerce.common.extension.importing.ImportContextConfigurationProperties.ImportContextProperties
AbstractImportBatchHandler.getImportContextProperties
(BatchRequest batchRequest) ImportBatchHandler.handle
(BatchRequest batch) Handle the batch and emit completions for all items within the batch.void
AbstractImportBatchHandler.initializeContextForBatch
(@NonNull BatchRequest batch) Method to initialize fields for a batch.default void
ImportBatchHandler.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 asPersistenceRequest
sprotected <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 therequests
in 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 BatchCompletion
BatchListener.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