org.quartz.core.QuartzScheduler.notifySchedulerListenersResumedTrigger()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(6.2k)|赞(0)|评价(0)|浏览(69)

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

QuartzScheduler.notifySchedulerListenersResumedTrigger介绍

暂无

代码示例

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

/**
 * <p>
 * Resume (un-pause) the <code>{@link Trigger}</code> with the given
 * name.
 * </p>
 * 
 * <p>
 * If the <code>Trigger</code> missed one or more fire-times, then the
 * <code>Trigger</code>'s misfire instruction will be applied.
 * </p>
 *  
 */
public void resumeTrigger(TriggerKey triggerKey) throws SchedulerException {
  validateState();
  resources.getJobStore().resumeTrigger(triggerKey);
  notifySchedulerThread(0L);
  notifySchedulerListenersResumedTrigger(triggerKey);
}

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

/**
 * <p>
 * Resume (un-pause) all triggers - equivalent of calling <code>resumeTriggerGroup(group)</code>
 * on every group.
 * </p>
 * 
 * <p>
 * If any <code>Trigger</code> missed one or more fire-times, then the
 * <code>Trigger</code>'s misfire instruction will be applied.
 * </p>
 * 
 * @see #pauseAll()
 */
public void resumeAll() throws SchedulerException {
  validateState();
  resources.getJobStore().resumeAll();
  notifySchedulerThread(0L);
  notifySchedulerListenersResumedTrigger(null);
}

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

/**
 * <p>
 * Resume (un-pause) the <code>{@link Trigger}</code> with the given
 * name.
 * </p>
 * 
 * <p>
 * If the <code>Trigger</code> missed one or more fire-times, then the
 * <code>Trigger</code>'s misfire instruction will be applied.
 * </p>
 *  
 */
public void resumeTrigger(TriggerKey triggerKey) throws SchedulerException {
  validateState();
  resources.getJobStore().resumeTrigger(triggerKey);
  notifySchedulerThread(0L);
  notifySchedulerListenersResumedTrigger(triggerKey);
}

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

/**
 * <p>
 * Resume (un-pause) all triggers - equivalent of calling <code>resumeTriggerGroup(group)</code>
 * on every group.
 * </p>
 * 
 * <p>
 * If any <code>Trigger</code> missed one or more fire-times, then the
 * <code>Trigger</code>'s misfire instruction will be applied.
 * </p>
 * 
 * @see #pauseAll()
 */
public void resumeAll() throws SchedulerException {
  validateState();
  resources.getJobStore().resumeAll();
  notifySchedulerThread(0L);
  notifySchedulerListenersResumedTrigger(null);
}

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

/**
 * <p>
 * Resume (un-pause) all triggers - equivalent of calling <code>resumeTriggerGroup(group)</code>
 * on every group.
 * </p>
 * 
 * <p>
 * If any <code>Trigger</code> missed one or more fire-times, then the
 * <code>Trigger</code>'s misfire instruction will be applied.
 * </p>
 * 
 * @see #pauseAll(SchedulingContext)
 */
public void resumeAll(SchedulingContext ctxt) throws SchedulerException {
  validateState();
  resources.getJobStore().resumeAll(ctxt);
  notifySchedulerThread(0L);
  notifySchedulerListenersResumedTrigger(null, null);
}

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

/**
 * <p>
 * Resume (un-pause) all triggers - equivalent of calling <code>resumeTriggerGroup(group)</code>
 * on every group.
 * </p>
 * 
 * <p>
 * If any <code>Trigger</code> missed one or more fire-times, then the
 * <code>Trigger</code>'s misfire instruction will be applied.
 * </p>
 * 
 * @see #pauseAll(SchedulingContext)
 */
public void resumeAll(SchedulingContext ctxt) throws SchedulerException {
  validateState();
  resources.getJobStore().resumeAll(ctxt);
  notifySchedulerThread(0L);
  notifySchedulerListenersResumedTrigger(null, null);
}

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

/**
 * <p>
 * Resume (un-pause) all of the <code>{@link Trigger}s</code> in the
 * given group.
 * </p>
 * 
 * <p>
 * If any <code>Trigger</code> missed one or more fire-times, then the
 * <code>Trigger</code>'s misfire instruction will be applied.
 * </p>
 *  
 */
public void resumeTriggerGroup(SchedulingContext ctxt, String groupName)
  throws SchedulerException {
  validateState();
  if(groupName == null) {
    groupName = Scheduler.DEFAULT_GROUP;
  }
  
  resources.getJobStore().resumeTriggerGroup(ctxt, groupName);
  notifySchedulerThread(0L);
  notifySchedulerListenersResumedTrigger(null, groupName);
}

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

/**
 * <p>
 * Resume (un-pause) all of the <code>{@link Trigger}s</code> in the
 * given group.
 * </p>
 * 
 * <p>
 * If any <code>Trigger</code> missed one or more fire-times, then the
 * <code>Trigger</code>'s misfire instruction will be applied.
 * </p>
 *  
 */
public void resumeTriggerGroup(SchedulingContext ctxt, String groupName)
  throws SchedulerException {
  validateState();
  if(groupName == null) {
    groupName = Scheduler.DEFAULT_GROUP;
  }
  
  resources.getJobStore().resumeTriggerGroup(ctxt, groupName);
  notifySchedulerThread(0L);
  notifySchedulerListenersResumedTrigger(null, groupName);
}

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

/**
 * <p>
 * Resume (un-pause) the <code>{@link Trigger}</code> with the given
 * name.
 * </p>
 * 
 * <p>
 * If the <code>Trigger</code> missed one or more fire-times, then the
 * <code>Trigger</code>'s misfire instruction will be applied.
 * </p>
 *  
 */
public void resumeTrigger(SchedulingContext ctxt, String triggerName,
    String groupName) throws SchedulerException {
  validateState();
  if(groupName == null) {
    groupName = Scheduler.DEFAULT_GROUP;
  }
  
  resources.getJobStore().resumeTrigger(ctxt, triggerName, groupName);
  notifySchedulerThread(0L);
  notifySchedulerListenersResumedTrigger(triggerName, groupName);
}

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

/**
 * <p>
 * Resume (un-pause) the <code>{@link Trigger}</code> with the given
 * name.
 * </p>
 * 
 * <p>
 * If the <code>Trigger</code> missed one or more fire-times, then the
 * <code>Trigger</code>'s misfire instruction will be applied.
 * </p>
 *  
 */
public void resumeTrigger(SchedulingContext ctxt, String triggerName,
    String groupName) throws SchedulerException {
  validateState();
  if(groupName == null) {
    groupName = Scheduler.DEFAULT_GROUP;
  }
  
  resources.getJobStore().resumeTrigger(ctxt, triggerName, groupName);
  notifySchedulerThread(0L);
  notifySchedulerListenersResumedTrigger(triggerName, groupName);
}

相关文章

微信公众号

最新文章

更多

QuartzScheduler类方法