Package

jabroni.rest

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 HttpHandler = (HttpRequest) ⇒ Future[HttpResponse]

    Permalink
  2. trait MultipartHandlerSupport extends MultipartDirectives with FailFastCirceSupport

    Permalink
  3. class WithSubscriptionWord extends AnyRef

    Permalink
  4. case class WorkContext[T](exchange: Exchange, subscriptionKey: Option[SubscriptionKey], subscription: WorkSubscription, requestContext: RequestContext, request: T) extends Product with Serializable

    Permalink

    Wraps the input to a computation, allowing the computation (mostly) to call 'take(n)' so it can request more work

    Wraps the input to a computation, allowing the computation (mostly) to call 'take(n)' so it can request more work

    T

    the request type

    exchange

    the interface to an exchange so it can request more work or even cancel the subscription or return the job

    subscription

    the details of the subscription

    request

    the job input

  5. case class WorkerClient(rest: RestClient, path: String, matchDetails: MatchDetails, workerDetails: WorkerDetails)(implicit mat: Materializer) extends Product with Serializable

    Permalink

    A short-lived handle to something which can send requests to a worker

    A short-lived handle to something which can send requests to a worker

    It also contains a context in which the request are sent (e.g. the match details, worker details and path)

  6. class WorkerConfig extends ServerConfig

    Permalink
  7. case class WorkerRoutes(exchange: Exchange = Exchange(), defaultSubscription: WorkSubscription = WorkSubscription(), defaultInitialRequest: Int = 1)(implicit mat: Materializer) extends MultipartHandlerSupport with Product with Serializable

    Permalink

Value Members

  1. object WorkerClient extends FailFastCirceSupport with LazyLogging with Serializable

    Permalink
  2. object WorkerConfig

    Permalink
  3. object WorkerHttp extends CommonRequestBuilding

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped