public Coverage createCoverage(TimeoutHandler timeoutHandler) {
        Coverage coverage = new Coverage(answeredDocs, answeredActiveDocs, answeredNodesParticipated, 1);
        coverage.setNodesTried(askedNodes);
        coverage.setTargetActive(answeredTargetActiveDocs);
        coverage.setDegradedReason(degradedReason | timeoutHandler.reason());
        return coverage;
    }
Aggregates coverage as responses are added.

@author baldersheim
container-search/src/main/java/com/yahoo/search/dispatch/CoverageAggregator.java