Find

final case class Find(workerId: BindingKey, canTakeJob: Job => Boolean) extends JobMarketEvent

An event emitted by a worker, used to try and find a job to do.

An event emitted by a worker, used to try and find a job to do.

Value Params
canTakeJob

A predicate job discriminator supplied by the worker to decide if a job can be done by the requesting worker.

workerId

the workers ID, so that we can report back to the requester.

trait Serializable
trait Product
trait Equals
trait GlobalEvent
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product