mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-07-01 12:57:26 +00:00
[Change] CacheStore-Redis 使用 Json 代替 Properties 作为 Redis 连接配置的存储格式;
[Add] RedisConnectionProperties 添加 Redis 连接配置对象; [Change] RedisConnectionPool 调整 JedisPool 配置读取来源的类型(URL -> RedisConnectionProperties); [Change] RedisCacheStoreFactory 更改 Redis 连接配置的读取形式; [Add] RedisUtils 添加 'PROPERTIES_FILE_NAME' 常量; [Add] com.google.code.gson:gson 添加 Gson 依赖项, 以转换 Json 为 RedisConnectionProperties 对象;
This commit is contained in:
@ -52,6 +52,12 @@
|
||||
<artifactId>jedis</artifactId>
|
||||
<version>3.3.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
<artifactId>gson</artifactId>
|
||||
<version>2.8.6</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
Reference in New Issue
Block a user