Skip to content

TaskContextImpl

TaskContextImpl is a concrete TaskContext.

Creating Instance

TaskContextImpl takes the following to be created:

TaskContextImpl is created when:

  • Task is requested to run

Resources

TaskContext
resources: Map[String, ResourceInformation]

resources is part of the TaskContext abstraction.

TaskContextImpl can be given resources (names) when created.

The resources are given when a Task is requested to run that in turn come from a TaskDescription (of a TaskRunner).

BarrierTaskContext

TaskContextImpl is available to barrier tasks as a BarrierTaskContext.