Interface EarlyResultsConsumer


  • public interface EarlyResultsConsumer
    Consumer for retrieving early results.

    Changed in 6.0: Removed close() method, because DIF implementation didn't actually guarantee the method to be called after each query method invocation. If you relied on this method, call it yourself once the blocking query method returns.

    Author:
    Max Sauer
    • Method Detail

      • addNewResult

        void addNewResult​(java.lang.Comparable<?> id)
        Adds an early-result id to processed.
        Parameters:
        id - an earlyResult.