Package

agora.api

worker

Permalink

package worker

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. worker
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type CandidateSelection = Seq[Candidate]

    Permalink
  2. case class CompletedWork[T](work: List[(WorkerRedirectCoords, T)])(implicit executionContext: ExecutionContext) extends Product with Serializable

    Permalink
  3. case class HostLocation(host: String, port: Int) extends Product with Serializable

    Permalink
  4. type MatchId = String

    Permalink
  5. type SubscriptionKey = String

    Permalink
  6. case class WorkerDetails(aboutMe: Json) extends JsonAppendable with Product with Serializable

    Permalink

    WorkerDetails is a wrapper for the information you fancy exposing for workers requesting work.

    WorkerDetails is a wrapper for the information you fancy exposing for workers requesting work.

    They contain some json values (which can be appended to/updated) that jobs can match against.

    These values should also expose sufficient information for calling clients to do their stuff.

    For example, with REST services, workers will need to contain a 'location' and 'path' entry so clients submitting jobs will know where to redirect their jobs to.

    aboutMe

    an opaque block of Json exposed by a worker. It must however include a 'path' element to describe the relative URL to send work requests to

  7. case class WorkerRedirectCoords(workerLocation: HostLocation, subscriptionKey: SubscriptionKey, remainingItems: Int) extends Product with Serializable

    Permalink

Value Members

  1. object HostLocation extends Serializable

    Permalink
  2. object WorkerDetails extends Serializable

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped