quartz-redis-jobstore
=====================
[](http://travis-ci.org/jlinn/quartz-redis-jobstore)
A [Quartz Scheduler](http://quartz-scheduler.org/) JobStore using [Redis](http://redis.io).
This project was inspired by [redis-quartz](https://github.com/RedisLabs/redis-quartz), and provides similar functionality with some key differences:
* Redis database and key prefix are configurable.
* Redis' [recommended distributed locking method](http://redis.io/topics/distlock) is used.
* All of the functionality of this library is covered by a [test suite](https://github.com/jlinn/quartz-redis-jobstore/tree/master/src/test/java/net/joelinn/quartz).
## Requirements
* Java 7 or higher
* Redis 2.6.12 or higher (3.0 or higher for Redis cluster)
## Installation
Maven dependency:
```xml
<dependency>
<groupId>net.joelinn</groupId>
<artifactId>quartz-redis-jobstore</artifactId>
<version>1.2.0</version>
</dependency>
```
## Configuration
The following properties may be set in your `quartz.properties` file:
```
# set the scheduler's JobStore class (required)
org.quartz.jobStore.class = net.joelinn.quartz.jobstore.RedisJobStore
# set the Redis host (required)
org.quartz.jobStore.host = <your redis host or a comma-delimited list of host:port if clustered use is desired>
# set the scheduler's trigger misfire threshold in milliseconds (optional, defaults to 60000)
org.quartz.jobStore.misfireThreshold = 60000
# set the redis password (optional, defaults null)
org.quartz.jobStore.password = <your redis password>
# set the redis port (optional, defaults to 6379)
org.quartz.jobStore.port = <your redis port>
# enable Redis clustering (optional, defaults to false)
org.quartz.jobStore.redisCluster = <true or false>
# enable Redis sentinel (optional, defaults to false)
org.quartz.jobStore.redisSentinel = <true or false>
# set the sentinel master group name (required if redisSentinel = true)
org.quartz.jobStore.masterGroupName = <your master group name>
# set the redis database (optional, defaults to 0)
org.quartz.jobStore.database: <your redis db>
# set the Redis key prefix for all JobStore Redis keys (optional, defaults to none)
org.quartz.jobStore.keyPrefix = a_prefix_
# set the Redis lock timeout in milliseconds (optional, defaults to 30000)
org.quartz.jobStore.lockTimeout = 30000
# enable SSL (defaults to false)
org.quartz.jobStore.ssl = <true or false>
```
## Limitations
All GroupMatcher comparators have been implemented.
Aside from that, the same limitations outlined in [redis-quartz's readme](https://github.com/RedisLabs/redis-quartz#limitations) apply.
没有合适的资源?快使用搜索试试~ 我知道了~
使用 Redis 的 Quartz Scheduler JobStore .zip

共41个文件
java:31个
xml:2个
txt:2个

1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 109 浏览量
2024-12-03
13:27:12
上传
评论
收藏 70KB ZIP 举报
温馨提示
使用 Redis 的 Quartz Scheduler JobStore。quartz-redis-jobstore使用Redis的Quartz Scheduler JobStore 。该项目受到redis-quartz的启发,提供了类似的功能,但有一些关键的区别Redis 数据库和键前缀是可配置的。采用Redis推荐的分布式锁定方法。测试套件涵盖了该库的所有功能。要求Java 7 或更高版本Redis 2.6.12 或更高版本(Redis 集群需要 3.0 或更高版本)安装Maven 依赖项<dependency> <groupId>net.joelinn</groupId> <artifactId>quartz-redis-jobstore</artifactId> <version>1.2.0</version></dependency>配置您的文件中可以设置以下属性quartz.properties# set the scheduler's JobStore class (required)org.quar
资源推荐
资源详情
资源评论



























收起资源包目录




























































共 41 条
- 1
资源评论


徐浪老师
- 粉丝: 9519
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 网络信息安全B作业题和考试复习题.doc
- 互联网背景下如何提高图书编校质量.docx
- tcpip协议与网络管理标准教程.doc
- 大数据背景下高校思想政治教育过程融入路径探究.docx
- 云南基层干部教育培训信息化建设应用研究教育文档.doc
- 团购网站Groupon及中国电子商务发展分析.doc
- 外贸建站-营销型网站建设.doc
- 斩波电路Matlab仿真电力电子技术课程设计.doc
- 互联网+大连海参养殖新模式探究.docx
- python-游戏数据搜索引擎-基于Python开发的游戏信息检索系统-整合多平台游戏数据-提供快速搜索与详细展示功能-支持用户自定义筛选与收藏-适用于游戏爱好者与开发者查询游戏资.zip
- 人工智能双面观.docx
- 基于欧氏距离的K均方聚类算法研究与应用.docx
- 对安徽江苏山东网络电视台的比较分析.docx
- JavaEEJsp图书系统实用技术文档.doc
- 网络信息安全项目教程习题-解答.doc
- 物联网技术在现代种植业中的应用.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
