Table of Contents

Enum SchedulerLock

Namespace
Quartz.Impl.AdoJobStore
Assembly
Quartz.dll

The locks a job store takes to serialize access to the scheduling data it shares with the other nodes of a cluster.

public enum SchedulerLock

Fields

StateAccess = 1

Guards the cluster check-in and failed-node recovery, which run on their own transaction so that they cannot deadlock against trigger work. Stored as STATE_ACCESS.

TriggerAccess = 0

Guards every change to jobs, triggers and calendars, and the acquisition of triggers to fire. Stored as TRIGGER_ACCESS.

Remarks

There have only ever been these two, and an ILockHandler that was handed anything else threw. Saying so in the type means a caller cannot invent a third lock that silently protects nothing, and it keeps the stored lock names out of every signature that mentions a lock.