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

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

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

QuartzSchedulerResources.getJobStore介绍

[英]Get the JobStore for the QuartzScheduler to use.
[中]获取JobStore以供QuartzScheduler使用。

代码示例

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

/**
 * <p>
 * Get the names of all known <code>{@link org.quartz.Job}</code> groups.
 * </p>
 */
public List<String> getJobGroupNames()
  throws SchedulerException {
  validateState();
  return resources.getJobStore().getJobGroupNames();
}

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

/**
 * <p>
 * Get the names of all known <code>{@link org.quartz.Job}</code> groups.
 * </p>
 */
public List<String> getJobGroupNames()
  throws SchedulerException {
  validateState();
  return resources.getJobStore().getJobGroupNames();
}

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

/**
 * <p>
 * Get the <code>{@link JobDetail}</code> for the <code>Job</code>
 * instance with the given name and group.
 * </p>
 */
public JobDetail getJobDetail(JobKey jobKey) throws SchedulerException {
  validateState();
  return resources.getJobStore().retrieveJob(jobKey);
}

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

/**
   * <p>
   * Get the current state of the identified <code>{@link Trigger}</code>.
   * </p>
J     *
   * @see TriggerState
   */
  public TriggerState getTriggerState(TriggerKey triggerKey) throws SchedulerException {
    validateState();

    return resources.getJobStore().getTriggerState(triggerKey);
  }

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

/**
 * <p>
 * Get all <code>{@link Trigger}</code> s that are associated with the
 * identified <code>{@link org.quartz.JobDetail}</code>.
 * </p>
 */
public List<? extends Trigger> getTriggersOfJob(JobKey jobKey) throws SchedulerException {
  validateState();
  return resources.getJobStore().getTriggersForJob(jobKey);
}

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

/**
 * Determine whether a {@link Trigger} with the given identifier already 
 * exists within the scheduler.
 * 
 * @param triggerKey the identifier to check for
 * @return true if a Trigger exists with the given identifier
 * @throws SchedulerException 
 */
public boolean checkExists(TriggerKey triggerKey) throws SchedulerException {
  validateState();
  return resources.getJobStore().checkExists(triggerKey);
  
}

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

/**
 * <p>
 * Get all <code>{@link Trigger}</code> s that are associated with the
 * identified <code>{@link org.quartz.JobDetail}</code>.
 * </p>
 */
public List<? extends Trigger> getTriggersOfJob(JobKey jobKey) throws SchedulerException {
  validateState();
  return resources.getJobStore().getTriggersForJob(jobKey);
}

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

/**
 * <p>
 * Get the names of all known <code>{@link org.quartz.Trigger}</code>
 * groups.
 * </p>
 */
public List<String> getTriggerGroupNames()
  throws SchedulerException {
  validateState();
  return resources.getJobStore().getTriggerGroupNames();
}

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

/**
 * <p>
 * Get the <code>{@link Trigger}</code> instance with the given name and
 * group.
 * </p>
 */
public Trigger getTrigger(TriggerKey triggerKey) throws SchedulerException {
  validateState();
  return resources.getJobStore().retrieveTrigger(triggerKey);
}

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

/**
 * Determine whether a {@link Job} with the given identifier already 
 * exists within the scheduler.
 * 
 * @param jobKey the identifier to check for
 * @return true if a Job exists with the given identifier
 * @throws SchedulerException 
 */
public boolean checkExists(JobKey jobKey) throws SchedulerException {
  validateState();
  return resources.getJobStore().checkExists(jobKey);
  
}

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

/**
 * Determine whether a {@link Trigger} with the given identifier already 
 * exists within the scheduler.
 * 
 * @param triggerKey the identifier to check for
 * @return true if a Trigger exists with the given identifier
 * @throws SchedulerException 
 */
public boolean checkExists(TriggerKey triggerKey) throws SchedulerException {
  validateState();
  return resources.getJobStore().checkExists(triggerKey);
  
}

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

/**
 * <p>
 * Get the <code>{@link Calendar}</code> instance with the given name.
 * </p>
 */
public Calendar getCalendar(String calName)
  throws SchedulerException {
  validateState();
  return resources.getJobStore().retrieveCalendar(calName);
}

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

/**
 * Determine whether a {@link Job} with the given identifier already 
 * exists within the scheduler.
 * 
 * @param jobKey the identifier to check for
 * @return true if a Job exists with the given identifier
 * @throws SchedulerException 
 */
public boolean checkExists(JobKey jobKey) throws SchedulerException {
  validateState();
  return resources.getJobStore().checkExists(jobKey);
  
}

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

/**
 * <p>
 * Get the <code>{@link JobDetail}</code> for the <code>Job</code>
 * instance with the given name and group.
 * </p>
 */
public JobDetail getJobDetail(JobKey jobKey) throws SchedulerException {
  validateState();
  return resources.getJobStore().retrieveJob(jobKey);
}

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

/**
 * <p>
 * Get the names of all registered <code>{@link Calendar}s</code>.
 * </p>
 */
public List<String> getCalendarNames()
  throws SchedulerException {
  validateState();
  return resources.getJobStore().getCalendarNames();
}

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

/**
 * <p>
 * Get the names of all known <code>{@link org.quartz.Trigger}</code>
 * groups.
 * </p>
 */
public List<String> getTriggerGroupNames()
  throws SchedulerException {
  validateState();
  return resources.getJobStore().getTriggerGroupNames();
}

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

/**
 * <p>
 * Get the <code>{@link Trigger}</code> instance with the given name and
 * group.
 * </p>
 */
public Trigger getTrigger(TriggerKey triggerKey) throws SchedulerException {
  validateState();
  return resources.getJobStore().retrieveTrigger(triggerKey);
}

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

/**
   * <p>
   * Get the current state of the identified <code>{@link Trigger}</code>.
   * </p>
J     *
   * @see TriggerState
   */
  public TriggerState getTriggerState(TriggerKey triggerKey) throws SchedulerException {
    validateState();

    return resources.getJobStore().getTriggerState(triggerKey);
  }

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

/**
 * <p>
 * Get the <code>{@link Calendar}</code> instance with the given name.
 * </p>
 */
public Calendar getCalendar(String calName)
  throws SchedulerException {
  validateState();
  return resources.getJobStore().retrieveCalendar(calName);
}

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

/**
 * <p>
 * Get the names of all registered <code>{@link Calendar}s</code>.
 * </p>
 */
public List<String> getCalendarNames()
  throws SchedulerException {
  validateState();
  return resources.getJobStore().getCalendarNames();
}

相关文章

微信公众号

最新文章

更多

QuartzSchedulerResources类方法