Class/Object

agora.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. final def ==(arg0: Any): Boolean

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

    Permalink
  5. final def asInstanceOf[T0]: T0

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  11. 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

  12. def jobId: Option[JobId]

    Permalink
  13. def matches(work: WorkSubscription)(implicit matcher: JobPredicate): Boolean

    Permalink
  14. def matching[T](matcher: T)(implicit ev: (T) ⇒ JMatcher): SubmitJob

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. val submissionDetails: SubmissionDetails

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

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

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

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

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

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

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

    Permalink
  26. def withSelection(mode: SelectionMode): SubmitJob

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ClientRequest

Inherited from AnyRef

Inherited from Any

Ungrouped