Example #1
0
  public void scheduleAll(SlotProvider slotProvider, boolean queued)
      throws NoResourceAvailableException {

    ExecutionVertex[] vertices = this.taskVertices;

    // kick off the tasks
    for (ExecutionVertex ev : vertices) {
      ev.scheduleForExecution(slotProvider, queued);
    }
  }