package jobs
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- jobs
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type ChannelId = String
- case class FileData[M[_]](mimeType: Option[MimeType], data: StreamT[M, Array[Byte]]) extends Product with Serializable
-
trait
FileStorage[M[_]] extends AnyRef
An abstraction for storing/manipulating/retrieving files.
- trait IdExtractor extends AnyRef
- final class InMemoryFileStorage[M[+_]] extends FileStorage[M]
- case class Job(id: JobId, name: String, jobType: String, data: Option[JValue], state: JobState) extends Product with Serializable
- type JobId = String
- trait JobManager[M[+_]] extends AnyRef
- trait JobResultManager[M[+_]] extends AnyRef
-
sealed abstract
class
JobState extends AnyRef
The Job state is used to keep track of the overall state of a Job.
The Job state is used to keep track of the overall state of a Job. A Job is put in a special initial state (
NotStarted) when it is first created, and is moved to theStartedstate once it gets its first status update. From here it can either beCancelledor put into one of several terminal states. Once a job is in a terminal state, it can no longer be moved to a new state. -
trait
JobStateManager[M[+_]] extends AnyRef
Given a method that can transition a Job between states, this provides default implementations of the explicit state transition methods.
- trait JobStateSerialization extends AnyRef
- case class Message(job: JobId, id: MessageId, channel: String, value: JValue) extends Product with Serializable
- type MessageId = Long
- case class Status(job: JobId, id: StatusId, message: String, progress: BigDecimal, unit: String, info: Option[JValue]) extends Product with Serializable
- type StatusId = Long
Value Members
- object Job extends Serializable
- object JobManager
- object JobState extends JobStateSerialization
- object Message extends Serializable
- object MessageId extends IdExtractor
- object Status extends Serializable
- object StatusId extends IdExtractor