Interface SchedulerAgent

All Known Implementing Classes:
ThreadedSchedulerAgent

public interface SchedulerAgent
agent that can handle posed scheduling requests
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    schedule(ScheduleRequest request, ResultsProtocol.WriterRole writer, Supplier<Boolean> canceledListener, int sizeCachedEngineStore)
    run the scheduling algorithm on the target plan using the associated scheduling goals mutates the target plan when scheduling is complete! any exceptions related to the particulars of a request should be reported as failures to the writer object; only exceptions fatal to the service itself should be propagated out
  • Method Details

    • schedule

      void schedule(ScheduleRequest request, ResultsProtocol.WriterRole writer, Supplier<Boolean> canceledListener, int sizeCachedEngineStore) throws InterruptedException
      run the scheduling algorithm on the target plan using the associated scheduling goals mutates the target plan when scheduling is complete! any exceptions related to the particulars of a request should be reported as failures to the writer object; only exceptions fatal to the service itself should be propagated out
      Parameters:
      request - details of scheduling request, including target plan version
      writer - object representing the request for scheduling results, including space to store results
      Throws:
      InterruptedException