本文整理了Java中org.quartz.core.QuartzSchedulerResources.getInstanceId
方法的一些代码示例,展示了QuartzSchedulerResources.getInstanceId
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QuartzSchedulerResources.getInstanceId
方法的具体详情如下:
包路径:org.quartz.core.QuartzSchedulerResources
类名称:QuartzSchedulerResources
方法名:getInstanceId
[英]Get the instance Id for the QuartzScheduler
.
[中]获取QuartzScheduler
的实例Id。
代码示例来源:origin: quartz-scheduler/quartz
/**
* <p>
* Returns the instance Id of the <code>QuartzScheduler</code>.
* </p>
*/
public String getSchedulerInstanceId() {
return resources.getInstanceId();
}
代码示例来源:origin: quartz-scheduler/quartz
/**
* <p>
* Returns the instance Id of the <code>QuartzScheduler</code>.
* </p>
*/
public String getSchedulerInstanceId() {
return resources.getInstanceId();
}
代码示例来源:origin: com.opensymphony.quartz/com.springsource.org.quartz
/**
* <p>
* Returns the instance Id of the <code>QuartzScheduler</code>.
* </p>
*/
public String getSchedulerInstanceId() {
return resources.getInstanceId();
}
代码示例来源:origin: quartz/quartz-all
/**
* <p>
* Returns the instance Id of the <code>QuartzScheduler</code>.
* </p>
*/
public String getSchedulerInstanceId() {
return resources.getInstanceId();
}
代码示例来源:origin: org.terracotta.modules/tim-quartz-1.5.1
if(schedulers.containsKey(qsRsrcs.getInstanceId())) {
recover(qsRsrcs.getInstanceId(), schedulers.remove(qsRsrcs.getInstanceId()));
schedulers.put(qsRsrcs.getInstanceId(), lock);
schedulers.notify();
ManagerUtil.monitorEnter(lock, Manager.LOCK_TYPE_WRITE);
代码示例来源:origin: quartz/quartz-all
protected Scheduler instantiate(QuartzSchedulerResources rsrcs, QuartzScheduler qs) {
SchedulingContext schedCtxt = new SchedulingContext();
schedCtxt.setInstanceId(rsrcs.getInstanceId());
Scheduler scheduler = new StdScheduler(qs, schedCtxt);
return scheduler;
}
代码示例来源:origin: com.opensymphony.quartz/com.springsource.org.quartz
protected Scheduler instantiate(QuartzSchedulerResources rsrcs, QuartzScheduler qs) {
SchedulingContext schedCtxt = new SchedulingContext();
schedCtxt.setInstanceId(rsrcs.getInstanceId());
Scheduler scheduler = new StdScheduler(qs, schedCtxt);
return scheduler;
}
代码示例来源:origin: quartz/quartz-all
schedCtxt.setInstanceId(rsrcs.getInstanceId());
代码示例来源:origin: com.opensymphony.quartz/com.springsource.org.quartz
schedCtxt.setInstanceId(rsrcs.getInstanceId());
内容来源于网络,如有侵权,请联系作者删除!