Package nz.org.riskscape.engine.sched
package nz.org.riskscape.engine.sched
-
ClassDescriptionCombines multiple ReadPageBuffers into one, for convenienceWraps a
CompletableFuturefor jobs queued up on the Scheduler, mostly for historic reasons.Wraps aLopsidedJoinerto present its methods as aSinkand aFlatProjectorso that we don't need customWorkerTaskimplementations to execute them in a pipeline.TheSchedulerworks with Pages, which is simply a block of Tuples.Handles all the complicated logic of how many tuples should fit into a Page.The Scheduler oversees the execution of the pipeline tasks.Executes a pipeline by breaking the steps down into tasks, and then using a Scheduler to manage running the tasks in parallel where possible.Throw by the TaskBuilder when the pipeline isn't as expected and so can not be converted in to tasks to run on the schedulerThe Worker represents a thread that can run tasks.