org.quartz.Trigger.updateWithNewCalendar()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(92)

本文整理了Java中org.quartz.Trigger.updateWithNewCalendar()方法的一些代码示例,展示了Trigger.updateWithNewCalendar()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Trigger.updateWithNewCalendar()方法的具体详情如下:
包路径:org.quartz.Trigger
类名称:Trigger
方法名:updateWithNewCalendar

Trigger.updateWithNewCalendar介绍

[英]This method should not be used by the Quartz client.

To be implemented by the concrete class.

The implementation should update the Trigger's state based on the given new version of the associated Calendar (the state should be updated so that it's next fire time is appropriate given the Calendar's new settings).
[中]Quartz客户端不应使用此方法。
由具体类实现。
实现应基于相关Calendar的给定新版本更新Trigger的状态(应更新状态,以便在日历的新设置下,下一次触发时间是合适的)。

代码示例

代码示例来源:origin: com.opensymphony.quartz/com.springsource.org.quartz

boolean removed = timeTriggers.remove(tw);
trig.updateWithNewCalendar(calendar, getMisfireThreshold());

代码示例来源:origin: quartz/quartz-all

boolean removed = timeTriggers.remove(tw);
trig.updateWithNewCalendar(calendar, getMisfireThreshold());

代码示例来源:origin: com.opensymphony.quartz/com.springsource.org.quartz

trigs[i].updateWithNewCalendar(calendar, getMisfireThreshold());
storeTrigger(conn, ctxt, trigs[i], null, true, STATE_WAITING, false, false);

代码示例来源:origin: quartz/quartz-all

trigs[i].updateWithNewCalendar(calendar, getMisfireThreshold());
storeTrigger(conn, ctxt, trigs[i], null, true, STATE_WAITING, false, false);

相关文章

微信公众号

最新文章

更多