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.
- Author:
- Antonin Delpeuch
-
Method Summary
-
Method Details
-
schedule
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).- Parameters:
updates- the updates to schedule- Returns:
- the reorganized updates
- Throws:
ImpossibleSchedulingException- when the scheduler cannot cope with a particular edit plan.
-