buguge - Keep it simple,stupid

知识就是力量,但更重要的,是运用知识的能力why buguge?

导航

2022年12月12日 #

JedisPool异常:Could not get a resource from the pool

摘要: JedisConnectionException: Could not get a resource from the pool 无法从连接池中获取到连接(资源)。 具体原因主要看异常堆栈信息里的Caused By子句。 下面Caused by可知,在调用borrowObject获取idle连接时, 阅读全文

posted @ 2022-12-12 21:17 buguge 阅读(895) 评论(0) 推荐(0) 编辑

apache commons-pool2中GenericObjectPoolConfig的maxTotal、maxIdle、minIdle属性理解

摘要: 我们熟知的JedisPool,即是利用了commons-pool2来实现的。在Jedis中 JedisPoolConfig 继承自 GenericObjectPoolConfig 阅读全文

posted @ 2022-12-12 20:05 buguge 阅读(1344) 评论(0) 推荐(0) 编辑