Interface IndexerQueryListener
- All Known Implementing Classes:
CommerceSessionInitializationListener,MarketplaceSessionInitializationListener,SessionInitializationListener
public interface IndexerQueryListener
Interface for receiving notifications about indexer queries execution.
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterQuery(IndexerQueryContext queryContext) Handles a notification that an indexer query has just completed.voidafterQueryError(IndexerQueryContext queryContext) Handles a notification that an indexer query failed (this may also be due to listeners failing).voidbeforeQuery(IndexerQueryContext queryContext) Handles a notification that an indexer query is about to begin execution.
-
Method Details
-
beforeQuery
Handles a notification that an indexer query is about to begin execution.- Parameters:
queryContext- - theIndexerQueryContext- Throws:
IndexerException- if an error occurs
-
afterQuery
Handles a notification that an indexer query has just completed.- Parameters:
queryContext- - theIndexerQueryContext- Throws:
IndexerException- if an error occurs
-
afterQueryError
Handles a notification that an indexer query failed (this may also be due to listeners failing).- Parameters:
queryContext- - theIndexerQueryContext- Throws:
IndexerException- if an error occurs
-