zoukankan      html  css  js  c++  java
  • Quartz(4):quartz.properties配置文件介绍

    quartz.properties的位置:

     可以自定义quartz.properties文件,去修改quartz的默认配置

    默认的quartz.properties

    # Default Properties file for use by StdSchedulerFactory
    # to create a Quartz Scheduler Instance, if a different
    # properties file is not explicitly specified.
    #
    
    #用来区分特定的调度实例,如正在使用群集功能,则必须对群集中“逻辑上”相同的调度程序的每个实例使用相同的名称,重新赋值该值
    org.quartz.scheduler.instanceName: DefaultQuartzScheduler
    org.quartz.scheduler.rmi.export: false
    org.quartz.scheduler.rmi.proxy: false
    #设置这项为true使我们在调用job的execute()之前能够开始一个UserTransaction。
    org.quartz.scheduler.wrapJobExecutionInUserTransaction: false
    
    #quartz自带的线程池实现类
    org.quartz.threadPool.class: org.quartz.simpl.SimpleThreadPool
    #处理job的线程个数,必须大于等于1
    org.quartz.threadPool.threadCount: 10
    #线程的优先级,默认即可
    org.quartz.threadPool.threadPriority: 5
    #自创建父线程
    org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread: true
    #作业最大延迟时间毫秒
    org.quartz.jobStore.misfireThreshold: 60000
    
    #数据保存方式为持久化
    org.quartz.jobStore.class: org.quartz.simpl.RAMJobStore 
  • 相关阅读:
    git撤销远程commit
    git撤销add
    tf.train.AdamOptimizer 优化器
    tf.train.MomentumOptimizer 优化器
    tf.train.GradientDescentOptimizer 优化器
    tf.nn.top_k
    tf.nn.sigmoid_cross_entropy_with_logits 分类
    tf.nn.softmax 分类
    tf.nn.softmax_cross_entropy_with_logits 分类
    Python可迭代序列排序总结
  • 原文地址:https://www.cnblogs.com/wwjj4811/p/12627450.html
Copyright © 2011-2022 走看看