Interface SnIndexerBatchListener


public interface SnIndexerBatchListener
Listener for indexer batch operations.
  • Method Summary

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

    • beforeIndexBatch

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

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

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