JobMarket

indigoextras.jobs.JobMarket
See theJobMarket companion object
final case class JobMarket(id: SubSystemId, availableJobs: List[Job]) extends SubSystem

The JobMarket is a subsystem that manages a global pool of available jobs.

Not all jobs are available to all workers however.

All interaction with the job market is done by a series of events.

Value parameters

availableJobs

Jobs currently available for allocation to workers.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SubSystem
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

type SubSystemModel = List[Job]

Value members

Concrete methods

def present(frameContext: SubSystemFrameContext, jobs: List[Job]): Outcome[SceneUpdateFragment]
def update(frameContext: SubSystemFrameContext, jobs: List[Job]): JobMarketEvent => Outcome[List[Job]]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val initialModel: Outcome[List[Job]]