Interface SnIndexerListener

All Known Implementing Classes:
BackofficeSnIndexerListener

public interface SnIndexerListener
Listener for indexer operations.
  • Method Summary

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

    • beforeIndex

      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

      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

      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