final class CompoundSchedule extends EnterpriseSchedule
Compound schedule allow combining multiple individual schedules into one schedule that represents "the union" of all schedules.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CompoundSchedule
- EnterpriseSchedule
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CompoundSchedule(schedules: NonEmpty[Set[IndividualSchedule]])
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def determineNextRun(result: ScheduledRunResult)(implicit traceContext: TraceContext): Option[NextRun]
Determines how long (at millisecond granularity) to wait before running the next task depending on the result of the previous execution result (affects how soon to retry e.g.
Determines how long (at millisecond granularity) to wait before running the next task depending on the result of the previous execution result (affects how soon to retry e.g. on errors or when there is more work to do).
Returns: 1. time to wait and 2. the specific schedule that corresponds to the most immediate time to wait. This can be used by the scheduler job on which actions to perform depending on the triggering schedule.
- Attributes
- protected[scheduler]
- Definition Classes
- CompoundSchedule → EnterpriseSchedule
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])