Interface HandlesSplits


  • public interface HandlesSplits
    An interface that may be used to extend a FnDataReceiver signalling that the downstream runner is capable of performing splitting and providing progress reporting.
    • Method Detail

      • trySplit

        @Nullable HandlesSplits.SplitResult trySplit​(double fractionOfRemainder)
        Returns null if the split was unsuccessful.
      • getProgress

        double getProgress()
        Returns the current progress of the active element as a fraction between 0.0 and 1.0.