C# Класс Expl.Itinerary.Quartz.ItineraryTriggerImpl

Quartz trigger class with Itinerary scheduling integration.
Наследование: AbstractTrigger, IItineraryTrigger
Показать файл Открыть проект

Открытые методы

Метод Описание
ComputeFirstFireTimeUtc ( ICalendar cal ) : DateTimeOffset?
GetFireTimeAfter ( DateTimeOffset afterTime ) : DateTimeOffset?
GetMayFireAgain ( ) : bool

Determines whether or not the ItineraryTriggerImpl will occur again.

GetNextFireTimeUtc ( ) : DateTimeOffset?
GetPreviousFireTimeUtc ( ) : DateTimeOffset?
GetScheduleBuilder ( ) : IScheduleBuilder
ItineraryTriggerImpl ( ISchedule schedule ) : System
ItineraryTriggerImpl ( ISchedule schedule, System.DateTime startTimeUtc ) : System
SetNextFireTimeUtc ( DateTimeOffset nextFireTime ) : void
SetPreviousFireTimeUtc ( DateTimeOffset previousFireTime ) : void
Triggered ( ICalendar cal ) : void

Called when the IScheduler has decided to 'fire' the trigger (Execute the associated IJob), in order to give the Trigger a chance to update itself for its next triggering (if any).

UpdateAfterMisfire ( ICalendar cal ) : void

Updates the ItineraryTriggerImpl's state based on the MisfireInstruction value that was selected when the ItineraryTriggerImpl was created.

UpdateWithNewCalendar ( ICalendar cal, System.TimeSpan misfireThreshold ) : void

Updates the instance with new calendar.

Защищенные методы

Метод Описание
ValidateMisfireInstruction ( int misfireInstruction ) : bool

Validates the misfire instruction.

Описание методов

ComputeFirstFireTimeUtc() публичный Метод

public ComputeFirstFireTimeUtc ( ICalendar cal ) : DateTimeOffset?
cal ICalendar
Результат DateTimeOffset?

GetFireTimeAfter() публичный Метод

public GetFireTimeAfter ( DateTimeOffset afterTime ) : DateTimeOffset?
afterTime DateTimeOffset
Результат DateTimeOffset?

GetMayFireAgain() публичный Метод

Determines whether or not the ItineraryTriggerImpl will occur again.
public GetMayFireAgain ( ) : bool
Результат bool

GetNextFireTimeUtc() публичный Метод

public GetNextFireTimeUtc ( ) : DateTimeOffset?
Результат DateTimeOffset?

GetPreviousFireTimeUtc() публичный Метод

public GetPreviousFireTimeUtc ( ) : DateTimeOffset?
Результат DateTimeOffset?

GetScheduleBuilder() публичный Метод

public GetScheduleBuilder ( ) : IScheduleBuilder
Результат IScheduleBuilder

ItineraryTriggerImpl() публичный Метод

public ItineraryTriggerImpl ( ISchedule schedule ) : System
schedule ISchedule
Результат System

ItineraryTriggerImpl() публичный Метод

public ItineraryTriggerImpl ( ISchedule schedule, System.DateTime startTimeUtc ) : System
schedule ISchedule
startTimeUtc System.DateTime
Результат System

SetNextFireTimeUtc() публичный Метод

public SetNextFireTimeUtc ( DateTimeOffset nextFireTime ) : void
nextFireTime DateTimeOffset
Результат void

SetPreviousFireTimeUtc() публичный Метод

public SetPreviousFireTimeUtc ( DateTimeOffset previousFireTime ) : void
previousFireTime DateTimeOffset
Результат void

Triggered() публичный Метод

Called when the IScheduler has decided to 'fire' the trigger (Execute the associated IJob), in order to give the Trigger a chance to update itself for its next triggering (if any).
public Triggered ( ICalendar cal ) : void
cal ICalendar
Результат void

UpdateAfterMisfire() публичный Метод

Updates the ItineraryTriggerImpl's state based on the MisfireInstruction value that was selected when the ItineraryTriggerImpl was created.
public UpdateAfterMisfire ( ICalendar cal ) : void
cal ICalendar
Результат void

UpdateWithNewCalendar() публичный Метод

Updates the instance with new calendar.
public UpdateWithNewCalendar ( ICalendar cal, System.TimeSpan misfireThreshold ) : void
cal ICalendar
misfireThreshold System.TimeSpan The misfire threshold.
Результат void

ValidateMisfireInstruction() защищенный Метод

Validates the misfire instruction.
protected ValidateMisfireInstruction ( int misfireInstruction ) : bool
misfireInstruction int The misfire instruction.
Результат bool