Home > Back-end >  About Quartz SimpleScheduleBuilder set time interval the question of whether or not to affect the fi
About Quartz SimpleScheduleBuilder set time interval the question of whether or not to affect the fi

Time:01-11

The time interval, when creating SimpleScheduleBuilder set the trigger, probability of unit will affect the size of the fire?

Set the milliseconds: withIntervalInMilliseconds
Set the seconds: withIntervalInSeconds
Set the minutes for the unit: withIntervalInMinutes
Set the hour for the unit: withIntervalInHours

Question:
More than one, whether the interval unit as easy to fire, or did not affect? (see the code inside all the time interval between the final return unit or ms)
2, how should choose unit? Smaller than the actual need of unit, or keep the agreement and the actual needs of the unit?
3, the reason of frequent fire, how should solve? After considering the number of threads has been set to 100, but still invalid, even if only one task, time interval is set to the hours will still fire
4, how to debug view specific fire reason?

Ps: the following attach to create part of the code, set the source of interval, quartz configuration diagram






Thanks to check, if there is a solution do not request to share a wave ~ little integral respect

  • Related