Interface SnIndexerListener

All Known Implementing Classes:
BackofficeSnIndexerListener, DefaultMerchSnIndexerListener

public interface SnIndexerListener
Listener for indexer operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Handles a notification that the indexer operation has just completed.
    default void
    Handles a notification that the indexer operation failed (this may also be due to listeners failing).
    default void
    Handles a notification that the indexer operation is about to begin execution.
  • Method Details

    • beforeIndex

      default void beforeIndex(SnIndexerContext context) throws SnIndexerException
      Handles a notification that the indexer operation is about to begin execution.
      Parameters:
      context - - the indexer context
      Throws:
      SnIndexerException - if an error occurs
    • afterIndex

      default void afterIndex(SnIndexerContext context) throws SnIndexerException
      Handles a notification that the indexer operation has just completed.
      Parameters:
      context - - the indexer context
      Throws:
      SnIndexerException - if an error occurs
    • afterIndexError

      default void afterIndexError(SnIndexerContext context) throws SnIndexerException
      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