org.quartz.core.QuartzSchedulerResources.getMakeSchedulerThreadDaemon()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(5.8k)|赞(0)|评价(0)|浏览(139)

本文整理了Java中org.quartz.core.QuartzSchedulerResources.getMakeSchedulerThreadDaemon方法的一些代码示例,展示了QuartzSchedulerResources.getMakeSchedulerThreadDaemon的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QuartzSchedulerResources.getMakeSchedulerThreadDaemon方法的具体详情如下:
包路径:org.quartz.core.QuartzSchedulerResources
类名称:QuartzSchedulerResources
方法名:getMakeSchedulerThreadDaemon

QuartzSchedulerResources.getMakeSchedulerThreadDaemon介绍

[英]Get whether to mark the Quartz scheduling thread as daemon.
[中]获取是否将Quartz调度线程标记为守护进程。

代码示例

代码示例来源:origin: quartz-scheduler/quartz

/**
 * <p>
 * Construct a new <code>QuartzSchedulerThread</code> for the given
 * <code>QuartzScheduler</code> as a non-daemon <code>Thread</code>
 * with normal priority.
 * </p>
 */
QuartzSchedulerThread(QuartzScheduler qs, QuartzSchedulerResources qsRsrcs) {
  this(qs, qsRsrcs, qsRsrcs.getMakeSchedulerThreadDaemon(), Thread.NORM_PRIORITY);
}

代码示例来源:origin: quartz-scheduler/quartz

/**
 * <p>
 * Construct a new <code>QuartzSchedulerThread</code> for the given
 * <code>QuartzScheduler</code> as a non-daemon <code>Thread</code>
 * with normal priority.
 * </p>
 */
QuartzSchedulerThread(QuartzScheduler qs, QuartzSchedulerResources qsRsrcs) {
  this(qs, qsRsrcs, qsRsrcs.getMakeSchedulerThreadDaemon(), Thread.NORM_PRIORITY);
}

代码示例来源:origin: quartz-scheduler/quartz

/**
 * <p>
 * Returns the name of the thread group for Quartz's main threads.
 * </p>
 */
public ThreadGroup getSchedulerThreadGroup() {
  if (threadGroup == null) {
    threadGroup = new ThreadGroup("QuartzScheduler:"
        + getSchedulerName());
    if (resources.getMakeSchedulerThreadDaemon()) {
      threadGroup.setDaemon(true);
    }
  }
  return threadGroup;
}

代码示例来源:origin: quartz-scheduler/quartz

/**
 * <p>
 * Returns the name of the thread group for Quartz's main threads.
 * </p>
 */
public ThreadGroup getSchedulerThreadGroup() {
  if (threadGroup == null) {
    threadGroup = new ThreadGroup("QuartzScheduler:"
        + getSchedulerName());
    if (resources.getMakeSchedulerThreadDaemon()) {
      threadGroup.setDaemon(true);
    }
  }
  return threadGroup;
}

代码示例来源:origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * <p>
 * Construct a new <code>QuartzSchedulerThread</code> for the given
 * <code>QuartzScheduler</code> as a non-daemon <code>Thread</code>
 * with normal priority.
 * </p>
 */
QuartzSchedulerThread(QuartzScheduler qs, QuartzSchedulerResources qsRsrcs,
    SchedulingContext ctxt) {
  this(qs, qsRsrcs, ctxt, qsRsrcs.getMakeSchedulerThreadDaemon(), Thread.NORM_PRIORITY);
}

代码示例来源:origin: org.knowm/sundial

/**
 * <p>
 * Construct a new <code>QuartzSchedulerThread</code> for the given <code>QuartzScheduler</code> as a non-daemon <code>Thread</code> with normal
 * priority.
 * </p>
 */
public QuartzSchedulerThread(QuartzScheduler qs, QuartzSchedulerResources qsRsrcs) {
 this(qs, qsRsrcs, qsRsrcs.getMakeSchedulerThreadDaemon(), Thread.NORM_PRIORITY);
}

代码示例来源:origin: knowm/Sundial

/**
 * Construct a new <code>QuartzSchedulerThread</code> for the given <code>QuartzScheduler</code>
 * as a non-daemon <code>Thread</code> with normal priority.
 */
public QuartzSchedulerThread(QuartzScheduler qs, QuartzSchedulerResources qsRsrcs) {
 this(qs, qsRsrcs, qsRsrcs.getMakeSchedulerThreadDaemon(), Thread.NORM_PRIORITY);
}

代码示例来源:origin: com.xeiam/sundial

/**
 * <p>
 * Construct a new <code>QuartzSchedulerThread</code> for the given <code>QuartzScheduler</code> as a non-daemon <code>Thread</code> with normal
 * priority.
 * </p>
 */
public QuartzSchedulerThread(QuartzScheduler qs, QuartzSchedulerResources qsRsrcs) {
 this(qs, qsRsrcs, qsRsrcs.getMakeSchedulerThreadDaemon(), Thread.NORM_PRIORITY);
}

代码示例来源:origin: quartz/quartz-all

/**
 * <p>
 * Construct a new <code>QuartzSchedulerThread</code> for the given
 * <code>QuartzScheduler</code> as a non-daemon <code>Thread</code>
 * with normal priority.
 * </p>
 */
QuartzSchedulerThread(QuartzScheduler qs, QuartzSchedulerResources qsRsrcs,
    SchedulingContext ctxt) {
  this(qs, qsRsrcs, ctxt, qsRsrcs.getMakeSchedulerThreadDaemon(), Thread.NORM_PRIORITY);
}

代码示例来源:origin: knowm/Sundial

/** Returns the name of the thread group for Quartz's main threads. */
public ThreadGroup getSchedulerThreadGroup() {
 if (threadGroup == null) {
  threadGroup = new ThreadGroup("QuartzScheduler");
  if (quartzSchedulerResources.getMakeSchedulerThreadDaemon()) {
   threadGroup.setDaemon(true);
  }
 }
 return threadGroup;
}

代码示例来源:origin: com.xeiam/sundial

/**
 * <p>
 * Returns the name of the thread group for Quartz's main threads.
 * </p>
 */
public ThreadGroup getSchedulerThreadGroup() {
 if (threadGroup == null) {
  threadGroup = new ThreadGroup("QuartzScheduler");
  if (quartzSchedulerResources.getMakeSchedulerThreadDaemon()) {
   threadGroup.setDaemon(true);
  }
 }
 return threadGroup;
}

代码示例来源:origin: org.knowm/sundial

/**
 * <p>
 * Returns the name of the thread group for Quartz's main threads.
 * </p>
 */
public ThreadGroup getSchedulerThreadGroup() {
 if (threadGroup == null) {
  threadGroup = new ThreadGroup("QuartzScheduler");
  if (quartzSchedulerResources.getMakeSchedulerThreadDaemon()) {
   threadGroup.setDaemon(true);
  }
 }
 return threadGroup;
}

代码示例来源:origin: quartz/quartz-all

/**
 * <p>
 * Returns the name of the <code>QuartzScheduler</code>.
 * </p>
 */
public ThreadGroup getSchedulerThreadGroup() {
  if (threadGroup == null) {
    threadGroup = new ThreadGroup("QuartzScheduler:"
        + getSchedulerName());
    if (resources.getMakeSchedulerThreadDaemon()) {
      threadGroup.setDaemon(true);
    }
  }
  return threadGroup;
}

代码示例来源:origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * <p>
 * Returns the name of the <code>QuartzScheduler</code>.
 * </p>
 */
public ThreadGroup getSchedulerThreadGroup() {
  if (threadGroup == null) {
    threadGroup = new ThreadGroup("QuartzScheduler:"
        + getSchedulerName());
    if (resources.getMakeSchedulerThreadDaemon()) {
      threadGroup.setDaemon(true);
    }
  }
  return threadGroup;
}

相关文章

微信公众号

最新文章

更多

QuartzSchedulerResources类方法