DVScheduleLease class abstract interface

Decides which process runs an occurrence when several tick the same schedules.

Every process that ticks sees the same occurrence come due. Without a lease each one runs it, which is the nightly job firing once per process.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

claim(String task, DateTime occurrence) → Future<bool>
Claims occurrence of task. True for exactly one claimant across every process sharing the lease's store; false for the rest.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited