Interface IndexerBatchListener
- All Known Subinterfaces:
ExtendedIndexerBatchListener
- All Known Implementing Classes:
CommerceSessionInitializationListener,CommitModeListener,DefaultMerchCatalogListener,MarketplaceSessionInitializationListener,MerchIndexingListener,SessionInitializationListener
public interface IndexerBatchListener
Interface for receiving notifications about
IndexerBatchContext instances.-
Method Summary
Modifier and TypeMethodDescriptionvoidafterBatch(IndexerBatchContext batchContext) Handles a notification that the processing for a particularIndexerBatchContexthas just been completed.voidafterBatchError(IndexerBatchContext batchContext) Handles a notification that the processing for a particularIndexerBatchContextfailed.voidbeforeBatch(IndexerBatchContext batchContext) Handles a notification that the processing for a particularIndexerBatchContextis about to begin.
-
Method Details
-
beforeBatch
Handles a notification that the processing for a particularIndexerBatchContextis about to begin.- Parameters:
batchContext- - theIndexerBatchContext- Throws:
IndexerException- if an error occurs
-
afterBatch
Handles a notification that the processing for a particularIndexerBatchContexthas just been completed.- Parameters:
batchContext- - theIndexerBatchContext- Throws:
IndexerException- if an error occurs
-
afterBatchError
Handles a notification that the processing for a particularIndexerBatchContextfailed.- Parameters:
batchContext- - theIndexerBatchContext- Throws:
IndexerException- if an error occurs
-