Interface SnIndexerBatchListener
- All Known Implementing Classes:
DefaultMerchSnIndexerListener
public interface SnIndexerBatchListener
Listener for indexer batch operations.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidafterIndexBatch(SnIndexerBatchContext context) Handles a notification that the indexer batch operation has just completed.default voidafterIndexBatch(SnIndexerContext context) Deprecated.default voidHandles a notification that the indexer batch operation failed (this may also be due to listeners failing).default voidafterIndexBatchError(SnIndexerContext context) Deprecated.Replaced byafterIndexBatchError(SnIndexerBatchContext).default voidbeforeIndexBatch(SnIndexerBatchContext context) Handles a notification that the indexer batch operation is about to begin execution.default voidbeforeIndexBatch(SnIndexerContext context) Deprecated.Replaced bybeforeIndexBatch(SnIndexerBatchContext).
-
Method Details
-
beforeIndexBatch
@Deprecated(since="2211") default void beforeIndexBatch(SnIndexerContext context) throws SnIndexerException Deprecated.Replaced bybeforeIndexBatch(SnIndexerBatchContext).Handles a notification that the indexer batch operation is about to begin execution.- Parameters:
context- - the indexer context- Throws:
SnIndexerException- if an error occurs
-
beforeIndexBatch
Handles a notification that the indexer batch operation is about to begin execution.- Parameters:
context- - the indexer batch context- Throws:
SnIndexerException- if an error occurs
-
afterIndexBatch
@Deprecated(since="2211") default void afterIndexBatch(SnIndexerContext context) throws SnIndexerException Deprecated.Replaced byafterIndexBatch(SnIndexerBatchContext).Handles a notification that the indexer batch operation has just completed.- 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 batch context- Throws:
SnIndexerException- if an error occurs
-
afterIndexBatchError
@Deprecated(since="2211") default void afterIndexBatchError(SnIndexerContext context) throws SnIndexerException Deprecated.Replaced byafterIndexBatchError(SnIndexerBatchContext).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
-
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
-
afterIndexBatch(SnIndexerBatchContext).