Package org.graylog.events.search
Interface MoreSearch.ScrollCallback
- Enclosing class:
- MoreSearch
public static interface MoreSearch.ScrollCallback
Callback that receives message batches from
MoreSearch.scrollQuery(String, Set, Set, TimeRange, int, ScrollCallback).-
Method Summary
Modifier and TypeMethodDescriptionvoidcall(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, thecontinueScrollingboolean can be set tofalse.- Parameters:
messages- the message batchcontinueScrolling- the boolean that can be set tofalseto stop the scroll query- Throws:
EventProcessorException
-