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