Package nz.org.riskscape.engine.sched
Class ExecutionFuture
java.lang.Object
nz.org.riskscape.engine.sched.ExecutionFuture
Wraps a CompletableFuture for jobs queued up on the Scheduler, mostly for historic reasons. Also has some job
management code for use by the Scheduler (hence the package scope on some methods).
Using a CompletableFuture allows callers to chain async actions via
thenApply, thenCompose, etc. once the pipeline has finished.
-
Constructor Summary
ConstructorsConstructorDescriptionExecutionFuture(nz.org.riskscape.engine.output.PipelineJobContext jobContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanCompletableFuture<nz.org.riskscape.engine.pipeline.ExecutionResult>nz.org.riskscape.engine.output.PipelineJobContextinthashCode()toString()
-
Constructor Details
-
ExecutionFuture
public ExecutionFuture(nz.org.riskscape.engine.output.PipelineJobContext jobContext)
-
-
Method Details