Interface SnIndexerBatchListener
public interface SnIndexerBatchListener
Listener for indexer batch operations.
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterIndexBatch(SnIndexerContext context) Handles a notification that the indexer batch operation has just completed.voidafterIndexBatchError(SnIndexerContext context) Handles a notification that the indexer batch operation failed (this may also be due to listeners failing).voidbeforeIndexBatch(SnIndexerContext context) Handles a notification that the indexer batch operation is about to begin execution.
-
Method Details
-
beforeIndexBatch
Handles a notification that the indexer batch operation is about to begin execution.- Parameters:
context- - the indexer context- Throws:
SnIndexerException- if an error occurs
-
afterIndexBatch
Handles a notification that the indexer batch operation has just completed.- Parameters:
context- - the indexer context- Throws:
SnIndexerException- if an error occurs
-
afterIndexBatchError
Handles a notification that the indexer batch operation failed (this may also be due to listeners failing).- Parameters:
context- - the indexer context- Throws:
SnIndexerException- if an error occurs
-