JobScope

enum class JobScope : Enum<JobScope>

Who a job of me.ahoo.wow.api.annotation.OnSchedule runs for.

Cases may be added in a minor release, so a when over it keeps an else branch.

Entries

Link copied to clipboard

One instance for the service, in the default tenant, enabled by the node that owns its partition.

Link copied to clipboard

One instance per tenant, created by the system command wow.schedule.EnableJob in that tenant, each tenant free to override the rule and its time zone.

Link copied to clipboard

One instance per log partition, in the default tenant, enabled by the partition's owner, which runs its own partition's instance, for that partition's aggregates, so each slot ticks exactly once per partition (ScheduleTick.partition).

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard
fun valueOf(value: String): JobScope

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.