Interface IndexerListener
-
- All Known Subinterfaces:
ExtendedIndexerListener
- All Known Implementing Classes:
CommerceSessionInitializationListener,CommitModeListener,IndexerOperationListener,MarketplaceSessionInitializationListener,MerchIndexingListener,OptimizeModeListener,SessionInitializationListener
public interface IndexerListenerInterface for receiving notifications aboutIndexerContextinstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterIndex(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 Detail
-
beforeIndex
void beforeIndex(IndexerContext context) throws IndexerException
Handles a notification that the indexing for a particularIndexerContextis about to begin.- Parameters:
context- - theIndexerContext- Throws:
IndexerException- if an error occurs
-
afterIndex
void afterIndex(IndexerContext context) throws IndexerException
Handles a notification that the indexing for a particularIndexerContexthas just been completed.- Parameters:
context- - theIndexerContext- Throws:
IndexerException- if an error occurs
-
afterIndexError
void afterIndexError(IndexerContext context) throws IndexerException
Handles a notification that the indexing for a particularIndexerContextfailed.- Parameters:
context- - theIndexerContext- Throws:
IndexerException- if an error occurs
-
-