Package

com.criteo.cuttle

cron

Permalink

package cron

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. cron
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class CronContext(instant: Instant, retry: Int, parentDag: String) extends SchedulingContext with Product with Serializable

    Permalink

    A CronContext is passed to executions initiated by the CronScheduler.

  2. case class CronDag(id: String, cronPipeline: CronPipeline, cronExpression: CronExpression, name: String = "", description: String = "", tags: Set[Tag] = Set.empty[Tag]) extends Product with Serializable

    Permalink
  3. type CronExecution = Execution[CronScheduling]

    Permalink
  4. case class CronExpression(cronExpression: String, tz: ZoneId = ZoneOffset.UTC) extends Product with Serializable

    Permalink

    Configure a cron expression

    Configure a cron expression

    cronExpression

    Cron expression to be parsed by https://github.com/alonsodomin/cron4s. See the link above for more details.

  5. type CronJob = Job[CronScheduling]

    Permalink
  6. sealed trait CronJobState extends AnyRef

    Permalink
  7. case class CronPipeline(vertices: Set[CronJob], edges: Set[Dependency]) extends Product with Serializable

    Permalink
  8. class CronProject extends AnyRef

    Permalink

    A cuttle project is a workflow to execute with the appropriate scheduler.

    A cuttle project is a workflow to execute with the appropriate scheduler. See the CronProject companion object to create projects.

  9. case class CronScheduler(logger: Logger) extends Scheduler[CronScheduling] with Product with Serializable

    Permalink

    A CronScheduler executes the set of Jobs at the time instants defined by Cron expressions.

    A CronScheduler executes the set of Jobs at the time instants defined by Cron expressions. Each Job has it's own expression and executed separately from others.

    The Scheduler ensures that at least one Execution is created and successfully run for a given time instant. It also handles the retry policy.

    We follow the semantic of Cron on Unix systems and we don't manage misfires (meaning that if the scheduler missed some events because it was offline, or because a previous job execution was still running, we won't replay them).

    Job is considered as finished when we can't produce the next computing instant from Cron expression.

  10. case class CronScheduling(maxRetry: Int = 0) extends Scheduling with Product with Serializable

    Permalink

    Configure a job as a CronScheduling job.

    Configure a job as a CronScheduling job.

    maxRetry

    The maximum number of retries authorized.

  11. case class CronWorkload(dags: Set[CronDag]) extends Workload[CronScheduling] with Product with Serializable

    Permalink

    Class regrouping cron job dags for scheduler.

    Class regrouping cron job dags for scheduler.

    dags

    cron dags to schedule.

  12. case class Dependency(child: CronJob, parent: CronJob) extends Product with Serializable

    Permalink

Value Members

  1. object CronContext extends Product with Serializable

    Permalink
  2. object CronDag extends Serializable

    Permalink
  3. object CronExpression extends Serializable

    Permalink
  4. object CronPipeline extends Serializable

    Permalink
  5. object CronProject

    Permalink

    Create new projects using a timeseries scheduler.

  6. object Dependency extends Serializable

    Permalink
  7. object Failure extends CronJobState with Product with Serializable

    Permalink
  8. object Implicits

    Permalink
  9. object Running extends CronJobState with Product with Serializable

    Permalink
  10. object Successful extends CronJobState with Product with Serializable

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped