Class JobSchedule<JobRef,TimeRef extends SchedulingInstant>

java.lang.Object
gov.nasa.jpl.aerie.merlin.driver.engine.JobSchedule<JobRef,TimeRef>

public final class JobSchedule<JobRef,TimeRef extends SchedulingInstant> extends Object
  • Constructor Details

    • JobSchedule

      public JobSchedule()
  • Method Details

    • schedule

      public void schedule(JobRef job, TimeRef time)
    • unschedule

      public void unschedule(JobRef job)
    • extractNextJobs

      public JobSchedule.Batch<JobRef> extractNextJobs(gov.nasa.jpl.aerie.merlin.protocol.types.Duration maximumTime)
    • clear

      public void clear()
    • peekNextTime

      public Optional<gov.nasa.jpl.aerie.merlin.protocol.types.Duration> peekNextTime()
    • duplicate

      public JobSchedule<JobRef,TimeRef> duplicate()