RedisDS增加getPoolgetSetting方法(issue#ICVWDI@Gitee)

This commit is contained in:
Looly
2025-09-04 09:07:23 +08:00
parent 8b482e4ae3
commit 23f0eea5b5
2 changed files with 22 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
# 🚀Changelog
-------------------------------------------------------------------------------------------------------------
# 5.8.41(2025-09-03)
# 5.8.41(2025-09-04)
### 🐣新特性
* 【core 】 增加`WeakKeyValueConcurrentMap`及其关联类,同时废弃`WeakConcurrentMap`并替换issue#4039@Github
@@ -12,6 +12,7 @@
* 【db 】 `Condition`增加构造方法支持BETWEENissue#4041@Github
* 【core 】 `IoUtil.writeObjects`判空避免空指针issue#4049@Github
* 【extra 】 `OsInfo`增加`isWindows11`方法pr#4054@Github
* 【extra 】 `RedisDS`增加`getPool``getSetting`方法issue#ICVWDI@Gitee
### 🐞Bug修复
* 【core 】 修复`ReflectUtil`中因class和Method关联导致的缓存无法回收问题issue#4039@Github

View File

@@ -137,6 +137,26 @@ public class RedisDS implements Closeable, Serializable {
return this;
}
/**
* 获取Jedis连接池
*
* @return Jedis连接池
* @since 5.8.41
*/
public JedisPool getPool() {
return pool;
}
/**
* 获取配置
*
* @return 配置
* @since 5.8.41
*/
public Setting getSetting() {
return setting;
}
/**
* 从资源池中获取{@link Jedis}
*