Interface IndexerQueryListener
-
- All Known Implementing Classes:
CommerceSessionInitializationListener,MarketplaceSessionInitializationListener,SessionInitializationListener
public interface IndexerQueryListenerInterface for receiving notifications about indexer queries execution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterQuery(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 Detail
-
beforeQuery
void beforeQuery(IndexerQueryContext queryContext) throws IndexerException
Handles a notification that an indexer query is about to begin execution.- Parameters:
queryContext- - theIndexerQueryContext- Throws:
IndexerException- if an error occurs
-
afterQuery
void afterQuery(IndexerQueryContext queryContext) throws IndexerException
Handles a notification that an indexer query has just completed.- Parameters:
queryContext- - theIndexerQueryContext- Throws:
IndexerException- if an error occurs
-
afterQueryError
void afterQueryError(IndexerQueryContext queryContext) throws IndexerException
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
-
-