Package

com.markatta

akron

Permalink

package akron

Visibility
  1. Public
  2. All

Type Members

  1. trait AbstractCronTab extends AnyRef

    Permalink
  2. final class Akron extends AnyRef

    Permalink
  3. final class AkronSerializer extends SerializerWithStringManifest with BaseSerializer

    Permalink

    INTERNAL API

  4. class AkronSettings extends AnyRef

    Permalink

    INTERNAL API

  5. final case class CronExpression(minute: MinuteExpression, hour: HourExpression, dayOfMonth: DayOfMonthExpression, month: MonthExpression, dayOfWeek: DayOfWeekExpression) extends CronTrigger with Product with Serializable

    Permalink
    Annotations
    @SerialVersionUID()
  6. class CronTab extends Actor with AbstractCronTab with ActorLogging

    Permalink
  7. sealed trait CronTrigger extends AnyRef

    Permalink

    In lack of a better name, common base type for the classes that describes when to run a cron job

  8. sealed trait DayOfMonthExpression extends ExpressionCommons

    Permalink
  9. sealed trait DayOfWeekExpression extends ExpressionCommons

    Permalink
  10. final case class Exactly(n: Int) extends HourExpression with MinuteExpression with DayOfMonthExpression with MonthExpression with DayOfWeekExpression with Product with Serializable

    Permalink
    Annotations
    @SerialVersionUID()
  11. trait ExpressionCommons extends AnyRef

    Permalink
  12. sealed trait HourExpression extends ExpressionCommons

    Permalink
  13. final case class Interval(every: Int) extends HourExpression with MinuteExpression with DayOfMonthExpression with MonthExpression with DayOfWeekExpression with Product with Serializable

    Permalink
    Annotations
    @SerialVersionUID()
  14. final case class Many(times: Seq[Int]) extends HourExpression with MinuteExpression with DayOfMonthExpression with MonthExpression with DayOfWeekExpression with Product with Serializable

    Permalink

    A set of different time points, for example "0,15,45"

    A set of different time points, for example "0,15,45"

    Annotations
    @SerialVersionUID()
  15. sealed trait MinuteExpression extends ExpressionCommons

    Permalink
  16. sealed trait MonthExpression extends ExpressionCommons

    Permalink
  17. class PersistentCrontab extends PersistentActor with ActorLogging with AbstractCronTab

    Permalink
  18. final case class Ranged(times: Range) extends HourExpression with MinuteExpression with DayOfMonthExpression with MonthExpression with DayOfWeekExpression with Product with Serializable

    Permalink

    A range that is scoped by it's position/unit, for minute it would allow "0-59" for example.

    A range that is scoped by it's position/unit, for minute it would allow "0-59" for example.

    Annotations
    @SerialVersionUID()
  19. final class SingleExecution extends CronTrigger

    Permalink

    Execute something at one single point in time, do not repeat.

    Execute something at one single point in time, do not repeat.

    Annotations
    @SerialVersionUID()

Value Members

  1. object All extends HourExpression with MinuteExpression with DayOfMonthExpression with MonthExpression with DayOfWeekExpression with Product with Serializable

    Permalink

    All time points in the unit, the "*" in minute position would trigger each minute when the other units are matching

    All time points in the unit, the "*" in minute position would trigger each minute when the other units are matching

    Annotations
    @SerialVersionUID()
  2. object CronExpression extends Serializable

    Permalink

    Provides a simplified subset of the time expression part of the V7 cron expression standard.

    Provides a simplified subset of the time expression part of the V7 cron expression standard.

    Expressions are in the format:

    [minute] [hour] [day of month] [month] [day of week]

    field         allowed values
    -----         --------------
    minute        0-59
    hour          0-23
    day of month  1-31
    month         1-12 (or names, see below)
    day of week   0-7 (0 or 7 is Sun, or use names)

    Month names are the three first letters, case insensitive: jan, feb etc. Day names are the three first letters, case insensitive: mon, tue, wed

    Both month and days can be defined with numbers as well, months starting with 1 for january and days 0 for sunday up until 7 for sunday again.

    Star '*' means minimum to maximum value (or all values)

    Intervals can be defined like this '*\/20' which would mean "every twentieth".

    Multiple values can be listed comma separated: '10,20,30'

  3. object CronTab

    Permalink

    The simple crontab actor looses its state upon stop, does not remember what jobs has already been run.

    The simple crontab actor looses its state upon stop, does not remember what jobs has already been run. Only useful in a single actor system.

  4. object DSL

    Permalink

    Allows for a concise type safe declaration of cron expressions.

    Allows for a concise type safe declaration of cron expressions. Example:

    import DSL._
    
    val expr = CronExpression(*, * / 20, many(mon, tue, wed), , *)
  5. object Many extends Serializable

    Permalink
  6. object PersistentCrontab

    Permalink
  7. object SingleExecution

    Permalink

Ungrouped