ScheduleTick

class ScheduleTick @InternalWowApi constructor(val tenantId: String, val job: String, val slot: Long, val skipped: Long = 0, val due: Long = 0, val partition: Int? = null)

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.

Fields may be added: construct one with of; the constructor is internal to Wow.

Constructors

Link copied to clipboard
constructor(tenantId: String, job: String, slot: Long, skipped: Long = 0, due: Long = 0, partition: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val due: Long
Link copied to clipboard
val job: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val slot: Long
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String