eu.shiftforward.adstax.scheduler.api.job.SchedulerJob
RepetitionConfig
Companion object RepetitionConfig
final case class RepetitionConfig(interval: FiniteDuration, missedExecutionBehavior: MissedExecutionBehavior = Continue) extends Product with Serializable
Defines the repetition configuration for the task.
- interval
the duration in which to repeat the scheduled action
- missedExecutionBehavior
What to do when loading repeating tasks whose last run indicates that it missed some executions. That is,
currentTime() - lastRun > repeat. This is important on situations of failure or restart, where the scheduler service has to skip executions. Upon loading the persisted tasks, the service can take into account this setting, and act accordingly.
- Alphabetic
- By Inheritance
- RepetitionConfig
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
RepetitionConfig(interval: FiniteDuration, missedExecutionBehavior: MissedExecutionBehavior = Continue)
- interval
the duration in which to repeat the scheduled action
- missedExecutionBehavior
What to do when loading repeating tasks whose last run indicates that it missed some executions. That is,
currentTime() - lastRun > repeat. This is important on situations of failure or restart, where the scheduler service has to skip executions. Upon loading the persisted tasks, the service can take into account this setting, and act accordingly.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- val interval: FiniteDuration
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val missedExecutionBehavior: MissedExecutionBehavior
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )