mirror of
https://gitee.com/dromara/hutool.git
synced 2025-11-24 16:43:24 +08:00
RedisDS增加getPool和getSetting方法(issue#ICVWDI@Gitee)
This commit is contained in:
@@ -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}
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user