Interface IndexerListener
- All Known Subinterfaces:
ExtendedIndexerListener
- All Known Implementing Classes:
CommerceSessionInitializationListener,CommitModeListener,DefaultMerchCatalogListener,IndexerOperationListener,MarketplaceSessionInitializationListener,MerchIndexingListener,OptimizeModeListener,SessionInitializationListener
public interface IndexerListener
Interface for receiving notifications about
IndexerContext instances.-
Method Summary
Modifier and TypeMethodDescriptionvoidafterIndex(IndexerContext context) Handles a notification that the indexing for a particularIndexerContexthas just been completed.voidafterIndexError(IndexerContext context) Handles a notification that the indexing for a particularIndexerContextfailed.voidbeforeIndex(IndexerContext context) Handles a notification that the indexing for a particularIndexerContextis about to begin.
-
Method Details
-
beforeIndex
Handles a notification that the indexing for a particularIndexerContextis about to begin.- Parameters:
context- - theIndexerContext- Throws:
IndexerException- if an error occurs
-
afterIndex
Handles a notification that the indexing for a particularIndexerContexthas just been completed.- Parameters:
context- - theIndexerContext- Throws:
IndexerException- if an error occurs
-
afterIndexError
Handles a notification that the indexing for a particularIndexerContextfailed.- Parameters:
context- - theIndexerContext- Throws:
IndexerException- if an error occurs
-