Quartz学习笔记(五)—— JobStore

来源:互联网 发布:目标软件游戏 编辑:程序博客网 时间:2024/05/29 04:52

JobStore负责跟踪所有的“工作数据”,给调度器、触发器、日历等

//配置RAMJobStoreorg.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
//配置JDBCJobStoreorg.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX//配置JDBCJobStore使用DriverDelegateorg.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate//配置JDBCJobStore表前缀org.quartz.jobStore.tablePrefix = QRTZ_//配置数据源org.quartz.jobStore.dataSource = myDS

//配置TerracottaJobStore
org.quartz.jobStore.class = org.terracotta.quartz.TerracottaJobStore
org.quartz.jobStore.tcConfigUrl = localhost:9510

0 0