Свойство | Type | Description | |
---|---|---|---|
AdvanceToNextDayOfWeekIfNecessary | DateTimeOffset? | ||
CreateCalendarTime | DateTimeOffset | ||
IsSameDay | bool |
Méthode | Description | |
---|---|---|
ComputeFirstFireTimeUtc ( ICalendar calendar ) : DateTimeOffset? |
This method should not be used by the Quartz client. Called by the scheduler at the time a ITrigger is first added to the scheduler, in order to have the ITrigger compute its first fire time, based on any associated calendar. After this method has been called, ITrigger.GetNextFireTimeUtc should return a valid answer. |
|
DailyTimeIntervalTriggerImpl ( ) : System |
Create a IDailyTimeIntervalTrigger with no settings.
|
|
DailyTimeIntervalTriggerImpl ( string name, DateTimeOffset startTimeUtc, DateTimeOffset endTimeUtc, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System |
Create a IDailyTimeIntervalTrigger that will occur at the given time, and repeat at the given interval until the given end time.
|
|
DailyTimeIntervalTriggerImpl ( string name, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System |
Create a IDailyTimeIntervalTrigger that will occur immediately, and repeat at the given interval.
|
|
DailyTimeIntervalTriggerImpl ( string name, string group, DateTimeOffset startTimeUtc, DateTimeOffset endTimeUtc, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System |
Create a IDailyTimeIntervalTrigger that will occur at the given time, and repeat at the given interval until the given end time.
|
|
DailyTimeIntervalTriggerImpl ( string name, string group, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System |
Create a IDailyTimeIntervalTrigger that will occur immediately, and repeat at the given interval.
|
|
DailyTimeIntervalTriggerImpl ( string name, string group, string jobName, string jobGroup, DateTimeOffset startTimeUtc, DateTimeOffset endTimeUtc, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System |
Create a IDailyTimeIntervalTrigger that will occur at the given time, fire the identified job and repeat at the given interval until the given end time.
|
|
GetFireTimeAfter ( DateTimeOffset afterTime ) : DateTimeOffset? |
Returns the next time at which the IDailyTimeIntervalTrigger will fire, after the given time. If the trigger will not fire after the given time,
|
|
GetMayFireAgain ( ) : bool |
Determines whether or not the IDailyTimeIntervalTrigger will occur again.
|
|
GetNextFireTimeUtc ( ) : DateTimeOffset? |
Returns the next time at which the ITrigger is scheduled to fire. If the trigger will not fire again, The value returned is not guaranteed to be valid until after the ITrigger has been added to the scheduler. |
|
GetPreviousFireTimeUtc ( ) : DateTimeOffset? |
Returns the previous time at which the ICalendarIntervalTrigger fired. If the trigger has not yet fired,
|
|
GetScheduleBuilder ( ) : IScheduleBuilder |
Get a IScheduleBuilder that is configured to produce a schedule identical to this trigger's schedule.
|
|
SetNextFireTimeUtc ( DateTimeOffset value ) : void |
Set the next time at which the IDailyTimeIntervalTrigger should fire. This method should not be invoked by client code. |
|
SetPreviousFireTimeUtc ( DateTimeOffset previousFireTimeUtc ) : void |
Set the previous time at which the IDailyTimeIntervalTrigger fired. This method should not be invoked by client code. |
|
Triggered ( ICalendar calendar ) : void |
Called when the scheduler has decided to 'fire' the trigger (execute the associated job), in order to give the trigger a chance to update itself for its next triggering (if any).
|
|
UpdateAfterMisfire ( ICalendar cal ) : void |
Updates the ICalendarIntervalTrigger's state based on the MisfireInstruction.XXX that was selected when the IDailyTimeIntervalTrigger was created. If the misfire instruction is set to MisfireInstruction.SmartPolicy, then the following scheme will be used:
|
|
UpdateWithNewCalendar ( ICalendar calendar, System.TimeSpan misfireThreshold ) : void |
|
|
Validate ( ) : void |
Validates whether the properties of the IJobDetail are valid for submission into a IScheduler.
|
Méthode | Description | |
---|---|---|
ValidateMisfireInstruction ( int misfireInstruction ) : bool |
Méthode | Description | |
---|---|---|
AdvanceToNextDayOfWeekIfNecessary ( DateTimeOffset fireTime, bool forceToAdvanceNextDay ) : DateTimeOffset? |
Given fireTime time determine if it is on a valid day of week. If so, simply return it unaltered, if not, advance to the next valid week day, and set the time of day to the start time of day.
|
|
CreateCalendarTime ( DateTimeOffset dateTime ) : DateTimeOffset | ||
IsSameDay ( DateTimeOffset d1, DateTimeOffset d2 ) : bool |
public ComputeFirstFireTimeUtc ( ICalendar calendar ) : DateTimeOffset? | ||
calendar | ICalendar | |
Résultat | DateTimeOffset? |
public DailyTimeIntervalTriggerImpl ( ) : System | ||
Résultat | System |
public DailyTimeIntervalTriggerImpl ( string name, DateTimeOffset startTimeUtc, DateTimeOffset endTimeUtc, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System | ||
name | string | |
startTimeUtc | DateTimeOffset | A |
endTimeUtc | DateTimeOffset | A |
startTimeOfDayUtc | TimeOfDay | The |
endTimeOfDayUtc | TimeOfDay | The |
intervalUnit | IntervalUnit | The repeat interval unit. The only intervals that are valid for this type of trigger are
/// |
repeatInterval | int | The number of milliseconds to pause between the repeat firing. |
Résultat | System |
public DailyTimeIntervalTriggerImpl ( string name, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System | ||
name | string | |
startTimeOfDayUtc | TimeOfDay | The |
endTimeOfDayUtc | TimeOfDay | The |
intervalUnit | IntervalUnit | The repeat interval unit. The only intervals that are valid for this type of trigger are
/// |
repeatInterval | int | |
Résultat | System |
public DailyTimeIntervalTriggerImpl ( string name, string group, DateTimeOffset startTimeUtc, DateTimeOffset endTimeUtc, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System | ||
name | string | |
group | string | |
startTimeUtc | DateTimeOffset | A |
endTimeUtc | DateTimeOffset | A |
startTimeOfDayUtc | TimeOfDay | The |
endTimeOfDayUtc | TimeOfDay | The |
intervalUnit | IntervalUnit | The repeat interval unit. The only intervals that are valid for this type of trigger are
/// |
repeatInterval | int | The number of milliseconds to pause between the repeat firing. |
Résultat | System |
public DailyTimeIntervalTriggerImpl ( string name, string group, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System | ||
name | string | |
group | string | |
startTimeOfDayUtc | TimeOfDay | The |
endTimeOfDayUtc | TimeOfDay | The |
intervalUnit | IntervalUnit | The repeat interval unit. The only intervals that are valid for this type of trigger are
/// |
repeatInterval | int | |
Résultat | System |
public DailyTimeIntervalTriggerImpl ( string name, string group, string jobName, string jobGroup, DateTimeOffset startTimeUtc, DateTimeOffset endTimeUtc, TimeOfDay startTimeOfDayUtc, TimeOfDay endTimeOfDayUtc, IntervalUnit intervalUnit, int repeatInterval ) : System | ||
name | string | |
group | string | |
jobName | string | |
jobGroup | string | |
startTimeUtc | DateTimeOffset | A |
endTimeUtc | DateTimeOffset | A |
startTimeOfDayUtc | TimeOfDay | The |
endTimeOfDayUtc | TimeOfDay | The |
intervalUnit | IntervalUnit | The repeat interval unit. The only intervals that are valid for this type of trigger are
/// |
repeatInterval | int | The number of milliseconds to pause between the repeat firing. |
Résultat | System |
public GetFireTimeAfter ( DateTimeOffset afterTime ) : DateTimeOffset? | ||
afterTime | DateTimeOffset | |
Résultat | DateTimeOffset? |
public GetNextFireTimeUtc ( ) : DateTimeOffset? | ||
Résultat | DateTimeOffset? |
public GetPreviousFireTimeUtc ( ) : DateTimeOffset? | ||
Résultat | DateTimeOffset? |
public GetScheduleBuilder ( ) : IScheduleBuilder | ||
Résultat | IScheduleBuilder |
public SetNextFireTimeUtc ( DateTimeOffset value ) : void | ||
value | DateTimeOffset | |
Résultat | void |
public SetPreviousFireTimeUtc ( DateTimeOffset previousFireTimeUtc ) : void | ||
previousFireTimeUtc | DateTimeOffset | |
Résultat | void |
public Triggered ( ICalendar calendar ) : void | ||
calendar | ICalendar | |
Résultat | void |
public UpdateAfterMisfire ( ICalendar cal ) : void | ||
cal | ICalendar | |
Résultat | void |
public UpdateWithNewCalendar ( ICalendar calendar, System.TimeSpan misfireThreshold ) : void | ||
calendar | ICalendar | |
misfireThreshold | System.TimeSpan | |
Résultat | void |
protected ValidateMisfireInstruction ( int misfireInstruction ) : bool | ||
misfireInstruction | int | |
Résultat | bool |