Interface MoreSearch.ScrollCallback

Enclosing class:
MoreSearch

public static interface MoreSearch.ScrollCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    call(List<ResultMessage> messages, AtomicBoolean continueScrolling)
    This will be called with message batches from a scroll query.
  • Method Details

    • call

      void call(List<ResultMessage> messages, AtomicBoolean continueScrolling) throws EventProcessorException
      This will be called with message batches from a scroll query. To stop the scroll query, the continueScrolling boolean can be set to false.
      Parameters:
      messages - the message batch
      continueScrolling - the boolean that can be set to false to stop the scroll query
      Throws:
      EventProcessorException