Package-level declarations
Types
The system command wow.schedule.Cancel: cancels the schedule key of the aggregate it is sent to.
The system command wow.schedule.Disable: stops the job instance it is sent to.
The system command wow.schedule.Enable: creates, or enables again, the instance of the job job it is sent to, the aggregate <context>.schedule whose id is the job's name in its tenant. rule overrides the job's default rule (null keeps the instance's own override, if any); partition is the log partition of an instance of a JobScope.SHARDED job, which the host enables.
The system event wow.JobDisabled: the instance does not run until it is enabled again.
Who a job of me.ahoo.wow.api.annotation.OnSchedule runs for.
The system command wow.schedule.Reschedule: overrides the rule of the job instance it is sent to with rule; null follows the job's default again.
The system event wow.ScheduleCancelled: the aggregate cancelled its schedule key.
Which time of a schedule a command was sent for, as its target reads it from me.ahoo.wow.api.decide.Command.schedule: the timer (ref#key@version) of the schedule key, its slot (from 1, one per time it is due), the time that slot was due (epoch milliseconds), and how many slots before it a recurring schedule skipped because they were missed (Misfire.COALESCE). A command sent for a schedule carries it in its headers (HEADERS); its request id is timer#slot.
The names of the job aggregate, its system commands and events.
The system event wow.ScheduleSet: the aggregate set its schedule key, to send target the command of type commandType, command its JSON, as rule says. Committed with the aggregate's other events; the built-in timers subscription derives the timer store from it.
What an me.ahoo.wow.api.annotation.OnSchedule handler receives: the tenantId of the instance (the default tenant for a JobScope.SYSTEM or a JobScope.SHARDED job), the job, the slot that was due at due (epoch milliseconds), how many slots before it were skipped (coalesced), and, for a JobScope.SHARDED job, the log partition whose aggregates this tick is for.
The system command wow.schedule.Set: sets the schedule key of the aggregate it is sent to, to send it the command of type commandType (context.aggregate.Command), command its JSON, as rule says. Every aggregate decides it without user code, on an aggregate that exists; a saga derives it (me.ahoo.wow.api.subscribe.SagaContext.schedule).
The system command wow.schedule.Tick: the schedule of a job instance is due; the slot is the command's ScheduleContext. Only a slot newer than the last one ticks.