class SplitAssignmentTracker {

	public List<SplitT> getAndRemoveUncheckpointedAssignment(int failedSubtaskId) {
		List<SplitT> splits = new ArrayList<>();
		assignmentsByCheckpointId.values().forEach(assignments -> {
			removeFromAssignment(failedSubtaskId, assignments, splits);
		});
		removeFromAssignment(failedSubtaskId, uncheckpointedAssignments, splits);
		return splits;
	}

	public  SplitAssignmentTracker();

}