Class StopRemainingExecutionsOnCloseIteration

java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<BindingSet,QueryEvaluationException>
org.eclipse.rdf4j.federated.evaluation.iterator.StopRemainingExecutionsOnCloseIteration
All Implemented Interfaces:
AutoCloseable, CloseableIteration<BindingSet,QueryEvaluationException>, Iteration<BindingSet,QueryEvaluationException>

public class StopRemainingExecutionsOnCloseIteration extends AbstractCloseableIteration<BindingSet,QueryEvaluationException>
A wrapping iteration that attempts to close all running scheduled Futures for the given query evaluation.

This is required for instance if the resulting iteration is not fully consumed.

Author:
Andreas Schwarte
See Also: