本文整理了Java中org.quartz.xml.XMLSchedulingDataProcessor.isIgnoreDuplicates()
方法的一些代码示例,展示了XMLSchedulingDataProcessor.isIgnoreDuplicates()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMLSchedulingDataProcessor.isIgnoreDuplicates()
方法的具体详情如下:
包路径:org.quartz.xml.XMLSchedulingDataProcessor
类名称:XMLSchedulingDataProcessor
方法名:isIgnoreDuplicates
[英]If true (and OverWriteExistingData
is false) then any job/triggers encountered in this file that have names that already exist in the scheduler will be ignored, and no error will be produced.
[中]如果为true(且OverWriteExistingData
为false),则将忽略此文件中遇到的任何作业/触发器,这些作业/触发器的名称已存在于计划程序中,并且不会产生任何错误。
代码示例来源:origin: quartz-scheduler/quartz
"/q:job-scheduling-data/q:processing-directives/q:ignore-duplicates", document);
if(ignoreDupes == null) {
log.debug("Directive 'ignore-duplicates' not specified, defaulting to " + isIgnoreDuplicates());
代码示例来源:origin: quartz-scheduler/quartz
"/q:job-scheduling-data/q:processing-directives/q:ignore-duplicates", document);
if(ignoreDupes == null) {
log.debug("Directive 'ignore-duplicates' not specified, defaulting to " + isIgnoreDuplicates());
代码示例来源:origin: quartz-scheduler/quartz
if(!isOverWriteExistingData() && isIgnoreDuplicates()) {
log.info("Not overwriting existing job: " + dupeJ.getKey());
continue; // just ignore the entry
if(!isOverWriteExistingData() && !isIgnoreDuplicates()) {
throw new ObjectAlreadyExistsException(detail);
"Rescheduling job: " + trigger.getJobKey() + " with updated trigger: " + trigger.getKey());
} else if (isIgnoreDuplicates()) {
log.info("Not overwriting existing trigger: " + dupeT.getKey());
continue; // just ignore the trigger (and possibly job)
else if(isIgnoreDuplicates()) {
log.info("Not overwriting existing trigger: " + dupeT.getKey());
continue; // just ignore the trigger
代码示例来源:origin: quartz-scheduler/quartz
if(!isOverWriteExistingData() && isIgnoreDuplicates()) {
log.info("Not overwriting existing job: " + dupeJ.getKey());
continue; // just ignore the entry
if(!isOverWriteExistingData() && !isIgnoreDuplicates()) {
throw new ObjectAlreadyExistsException(detail);
"Rescheduling job: " + trigger.getJobKey() + " with updated trigger: " + trigger.getKey());
} else if (isIgnoreDuplicates()) {
log.info("Not overwriting existing trigger: " + dupeT.getKey());
continue; // just ignore the trigger (and possibly job)
else if(isIgnoreDuplicates()) {
log.info("Not overwriting existing trigger: " + dupeT.getKey());
continue; // just ignore the trigger
内容来源于网络,如有侵权,请联系作者删除!