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

@@ -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}
*