Class/Object

jabroni.api.exchange

SubmitJob

Related Docs: object SubmitJob | package exchange

Permalink

case class SubmitJob(submissionDetails: SubmissionDetails, job: Json) extends ClientRequest with Product with Serializable

Represents anything which can be run as a job

Json is a bit prescriptive, but that's going to cover 95% of the cases. Even if we have binary data, we can base64 encode it as an option.

If we end up doing a lot of data transfer, then we can change the job representation to be an akka Source

job

represents the job submission. As the job repo is heterogeneous, it could match anything really that's asking for work

Linear Supertypes
Serializable, Serializable, Product, Equals, ClientRequest, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubmitJob
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ClientRequest
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SubmitJob(submissionDetails: SubmissionDetails, job: Json)

    Permalink

    job

    represents the job submission. As the job repo is heterogeneous, it could match anything really that's asking for work

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +[T](keyValue: (String, T))(implicit arg0: Encoder[T]): SubmitJob

    Permalink
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def add[T](keyValue: (String, T))(implicit arg0: Encoder[T]): SubmitJob

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. val job: Json

    Permalink

    represents the job submission.

    represents the job submission. As the job repo is heterogeneous, it could match anything really that's asking for work

  13. def jobId: Option[JobId]

    Permalink
  14. def matches(work: WorkSubscription)(implicit m: JobPredicate): Boolean

    Permalink
  15. def matching(matcher: JMatcher): SubmitJob

    Permalink
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val submissionDetails: SubmissionDetails

    Permalink
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def withAwaitMatch(awaitMatch: Boolean): SubmitJob

    Permalink
  25. def withData[T](data: T, name: String = null)(implicit arg0: Encoder[T]): SubmitJob

    Permalink
  26. def withId(jobId: JobId): SubmitJob

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ClientRequest

Inherited from AnyRef

Inherited from Any

Ungrouped