Interface IIntermediateResultListener<E>

    • Method Detail

      • intermediateResultAvailable

        void intermediateResultAvailable​(E result)
        Called when an intermediate result is available.
        Parameters:
        result - The result.
      • finished

        void finished()
        Declare that the future is finished. This method is only called for intermediate futures, i.e. when this method is called it is guaranteed that the intermediateResultAvailable method was called for all intermediate results before.
      • maxResultCountAvailable

        void maxResultCountAvailable​(int max)
        Declare that the future result count is available. This method is only called for intermediate futures, i.e. when this method is called it is guaranteed that the intermediateResultAvailable method will be called as often as the result count indicates except an exception occurs.