Interface SnIndexerListener
- All Known Implementing Classes:
BackofficeSnIndexerListener,DefaultMerchSnIndexerListener
public interface SnIndexerListener
Listener for indexer operations.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidafterIndex(SnIndexerContext context) Handles a notification that the indexer operation has just completed.default voidafterIndexError(SnIndexerContext context) Handles a notification that the indexer operation failed (this may also be due to listeners failing).default voidbeforeIndex(SnIndexerContext context) Handles a notification that the indexer operation is about to begin execution.
-
Method Details
-
beforeIndex
Handles a notification that the indexer operation is about to begin execution.- Parameters:
context- - the indexer context- Throws:
SnIndexerException- if an error occurs
-
afterIndex
Handles a notification that the indexer operation has just completed.- Parameters:
context- - the indexer context- Throws:
SnIndexerException- if an error occurs
-
afterIndexError
Handles a notification that the indexer operation failed (this may also be due to listeners failing).- Parameters:
context- - the indexer context- Throws:
SnIndexerException- if an error occurs
-