JobOptions

class JobOptions @InternalWowApi constructor(val cron: String? = null, val zone: String? = null, val misfire: Misfire? = null, val enabled: Boolean = true, val retry: HandlerRetry? = null, val parked: ParkedRetrySpec? = null)

The host's settings of a job, wow.schedules.<job>.*, the only place a job is configured: its rule (cron, zone, misfire), each part null to keep the annotation's; enabled false disables a JobScope.SYSTEM or a JobScope.SHARDED job's instances at startup (a JobScope.TENANT job's instances are each tenant's to enable or disable); and the in-process retry and the parked retries of the subscriptions that run it, null to keep the handler's @Retry and the global parked retries.

Fields may be added: Wow builds it from the host's configuration, so the constructor is internal to Wow.

Constructors

Link copied to clipboard
constructor(cron: String? = null, zone: String? = null, misfire: Misfire? = null, enabled: Boolean = true, retry: HandlerRetry? = null, parked: ParkedRetrySpec? = null)

Properties

Link copied to clipboard
val cron: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The parts it overrides, as a rule over the annotation's.

Link copied to clipboard
val zone: String?

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