Interface UpdateScheduler

  • All Known Implementing Classes:
    QuickStatementsUpdateScheduler, WikibaseAPIUpdateScheduler

    public interface UpdateScheduler
    A scheduling strategy for entity updates. Given a list of initial updates, the scheduler reorganizes these updates (possibly splitting them or merging them) to create a sequence that is suitable for a particular import process.
    Antonin Delpeuch
    • Method Detail

      • schedule

        List<EntityEdit> schedule​(List<EntityEdit> updates)
                           throws ImpossibleSchedulingException
        Performs the scheduling. The initial updates are provided as a list so that the scheduler can attempt to respect the initial order (but no guarantee is made for that in general).
        updates - the updates to schedule
        the reorganized updates
        ImpossibleSchedulingException - when the scheduler cannot cope with a particular edit plan.