static Reindexing updateWithReady(List<Trigger> ready, Reindexing reindexing, Instant now) {
        for (Trigger trigger : ready) { // We update only for document types for which we have config.
            if ( ! trigger.readyAt().isAfter(now)) {
                Status status = reindexing.status().get(trigger.type());
                if (status == null || status.startedAt().isBefore(trigger.readyAt()))
                    status = Status.ready(now);

                reindexing = reindexing.with(trigger.type(), status);
            }
        }
        return reindexing;
    }
Starts and tracks reprocessing of ready document types until done, or interrupted.
clustercontroller-reindexer/src/main/java/ai/vespa/reindexing/Reindexer.java