ScheduleSpec
class ScheduleSpec
The job instances of a scheduleSpec and the handlers of their jobs.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Answers each synchronous call a handler makes with what answer returns, as ProcessorSpec.answerCalls does.
Link copied to clipboard
fun enable(job: String, tenantId: String = DEFAULT_TENANT, rule: JobRule? = null, partition: Int? = null)
Enables the instance of job in tenantId (the default tenant for a SYSTEM or a SHARDED job) by its default rule under rule, as wow.schedule.EnableJob does; the instance of partition for a SHARDED job. Fails when the instance refuses it. It acts as the host's bringing-in-line of its jobs (system:schedule), as disable does: the specification sends no operator's job command.
Link copied to clipboard
Serves the handlers' reads from queries, as ProcessorSpec.givenQueries does.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard