本文整理了Java中org.quartz.core.QuartzScheduler.pauseJob
方法的一些代码示例,展示了QuartzScheduler.pauseJob
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QuartzScheduler.pauseJob
方法的具体详情如下:
包路径:org.quartz.core.QuartzScheduler
类名称:QuartzScheduler
方法名:pauseJob
[英]Pause the org.quartz.JobDetail
with the given name - by pausing all of its current Trigger
s.
[中]暂停具有给定名称的org.quartz.JobDetail
——暂停所有当前的Trigger
s。
代码示例来源:origin: quartz-scheduler/quartz
/**
* <p>
* Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
* </p>
*/
public void pauseJob(JobKey jobKey)
throws SchedulerException {
sched.pauseJob(jobKey);
}
代码示例来源:origin: quartz-scheduler/quartz
/**
* <p>
* Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
* </p>
*/
public void pauseJob(JobKey jobKey)
throws SchedulerException {
sched.pauseJob(jobKey);
}
代码示例来源:origin: quartz-scheduler/quartz
public void pauseJob(String jobName, String jobGroup) throws Exception {
try {
scheduler.pauseJob(jobKey(jobName, jobGroup));
} catch (Exception e) {
throw newPlainException(e);
}
}
代码示例来源:origin: com.opensymphony.quartz/com.springsource.org.quartz
/**
* <p>
* Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
* passing the <code>SchedulingContext</code> associated with this
* instance.
* </p>
*/
public void pauseJob(String jobName, String groupName)
throws SchedulerException {
sched.pauseJob(schedCtxt, jobName, groupName);
}
代码示例来源:origin: quartz/quartz-all
/**
* <p>
* Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
* passing the <code>SchedulingContext</code> associated with this
* instance.
* </p>
*/
public void pauseJob(String jobName, String groupName)
throws SchedulerException {
sched.pauseJob(schedCtxt, jobName, groupName);
}
代码示例来源:origin: nkcoder/quartz-explained
public void pauseJob(String jobName, String jobGroup) throws Exception {
try {
scheduler.pauseJob(jobKey(jobName, jobGroup));
} catch (Exception e) {
throw newPlainException(e);
}
}
内容来源于网络,如有侵权,请联系作者删除!