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

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

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

Trigger.computeFirstFireTime介绍

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

Called by the scheduler at the time a Trigger is first added to the scheduler, in order to have the Trigger compute its first fire time, based on any associated calendar.

After this method has been called, getNextFireTime() should return a valid answer.
[中]Quartz客户端不应使用此方法。
调度程序在Trigger首次添加到调度程序时调用,以便Trigger根据任何相关日历计算其第一次启动时间。
调用此方法后,getNextFireTime()应返回有效答案。

代码示例

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

t.computeFirstFireTime(cal);

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

t.computeFirstFireTime(cal);

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

t.computeFirstFireTime(cal);

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

t.computeFirstFireTime(cal);

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

t.computeFirstFireTime(cal);

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

t.computeFirstFireTime(cal);

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

t.setStartTime(from);
t.setEndTime(to);
t.computeFirstFireTime(cal);

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

t.setStartTime(from);
t.setEndTime(to);
t.computeFirstFireTime(cal);

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

new Date(), null, 0, 0);
trig.setVolatility(true);
trig.computeFirstFireTime(null);
if(data != null) {
  trig.setJobDataMap(data);

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

new Date(), null, 0, 0);
trig.setVolatility(true);
trig.computeFirstFireTime(null);
if(data != null) {
  trig.setJobDataMap(data);

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

new Date(), null, 0, 0);
trig.setVolatility(false);
trig.computeFirstFireTime(null);
if(data != null) {
  trig.setJobDataMap(data);

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

new Date(), null, 0, 0);
trig.setVolatility(false);
trig.computeFirstFireTime(null);
if(data != null) {
  trig.setJobDataMap(data);

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

if (jobExists(conn, recoveringJobTriggers[i].getJobName(),
    recoveringJobTriggers[i].getJobGroup())) {
  recoveringJobTriggers[i].computeFirstFireTime(null);
  storeTrigger(conn, null, recoveringJobTriggers[i], null, false,
      STATE_WAITING, false, true);

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

if (jobExists(conn, recoveringJobTriggers[i].getJobName(),
    recoveringJobTriggers[i].getJobGroup())) {
  recoveringJobTriggers[i].computeFirstFireTime(null);
  storeTrigger(conn, null, recoveringJobTriggers[i], null, false,
      STATE_WAITING, false, true);

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

newTrigger.getCalendarName());
Date ft = newTrigger.computeFirstFireTime(cal);

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

newTrigger.getCalendarName());
Date ft = newTrigger.computeFirstFireTime(cal);

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

Date ft = trigger.computeFirstFireTime(cal);

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

Date ft = trigger.computeFirstFireTime(cal);

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

trigger.getCalendarName());
Date ft = trigger.computeFirstFireTime(cal);

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

trigger.getCalendarName());
Date ft = trigger.computeFirstFireTime(cal);

相关文章