Package

eu.shiftforward.adstax.scheduler.api

job

Permalink

package job

Visibility
  1. Public
  2. All

Type Members

  1. case class AmqpSchedulerJob(id: String, initialDelay: FiniteDuration, repeat: Option[RepetitionConfig], messageDefinition: RecurrentScript) extends SchedulerJob with Product with Serializable

    Permalink

    A job that publishes messages to a AMQP broker.

    A job that publishes messages to a AMQP broker.

    id

    the identifier of the job

    initialDelay

    the initial delay before the job is first executed

    repeat

    the repetition configuration for the job, or None if it's an one-shot task

    messageDefinition

    the script to be run to build each message. The script should return an object with fields exchangeKey, routingKey and message.

  2. trait SchedulerJob extends AnyRef

    Permalink

    A job able to be scheduled.

  3. trait SchedulerJobCompanion[T <: SchedulerJob] extends AnyRef

    Permalink

    A trait for companion objects of SchedulerJob implementations.

    A trait for companion objects of SchedulerJob implementations. Provides JSON formats used to serialize and deserialize the different types of jobs.

    T

    the type of the job

Value Members

  1. object AmqpSchedulerJob extends SchedulerJobCompanion[AmqpSchedulerJob] with Serializable

    Permalink
  2. object SchedulerJob extends Logging

    Permalink

Ungrouped