本文整理了Java中org.quartz.Scheduler.resumeJobs()
方法的一些代码示例,展示了Scheduler.resumeJobs()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Scheduler.resumeJobs()
方法的具体详情如下:
包路径:org.quartz.Scheduler
类名称:Scheduler
方法名:resumeJobs
[英]Resume (un-pause) all of the org.quartz.JobDetails
in matching groups.
If any of the Job
s had Trigger
s that missed one or more fire-times, then the Trigger
's misfire instruction will be applied.
[中]恢复(取消暂停)匹配组中的所有org.quartz.JobDetails
。
如果Job
的任何一个Trigger
错过了一次或多次点火,则Trigger
的失火指令将被应用。
代码示例来源:origin: myschedule/myschedule-quartz-extra
public void resumeJobs(GroupMatcher<JobKey> groupMatcher) {
try {
scheduler.resumeJobs(groupMatcher);
} catch (SchedulerException e) {
throw new QuartzRuntimeException(e);
}
}
代码示例来源:origin: org.codelibs/elasticsearch-quartz
public void resumeJobs(final GroupMatcher<JobKey> matcher) {
try {
scheduler.resumeJobs(matcher);
} catch (final SchedulerException e) {
throw new QuartzSchedulerException(e);
}
}
代码示例来源:origin: lvhao/schedule-job
public boolean enable(GroupMatcher<JobKey> matcher){
try {
scheduler.resumeJobs(matcher);
return true;
} catch (SchedulerException e) {
e.printStackTrace();
}
return false;
}
代码示例来源:origin: OpenWiseSolutions/openhub-framework
@Override
public void resumeJobs(GroupMatcher<JobKey> matcher) throws SchedulerException {
getScheduler().resumeJobs(matcher);
}
代码示例来源:origin: com.threewks.thundr/thundr-contrib-quartz
@Override
public void resumeJobs(GroupMatcher<JobKey> matcher) throws QuartzException {
try {
delegate.resumeJobs(matcher);
} catch (SchedulerException e) {
Logger.error(e.getMessage());
throw new QuartzException(e);
}
}
代码示例来源:origin: com.threewks.thundr/thundr-quartz
@Override
public void resumeJobs(GroupMatcher<JobKey> matcher) throws QuartzException {
try {
delegate.resumeJobs(matcher);
} catch (SchedulerException e) {
Logger.error(e.getMessage());
throw new QuartzException(e);
}
}
内容来源于网络,如有侵权,请联系作者删除!