JobMarket

final case class JobMarket(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.

Companion:
object
trait Serializable
trait Product
trait Equals
trait SubSystem
class Object
trait Matchable
class Any

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]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Concrete fields