testOnBorrow:在borrow一個(gè)jedis實(shí)例時(shí),是否提前進(jìn)行alidate操作;如果為true,則得到的jedis實(shí)例均是可用的; testOnReturn:在return給pool時(shí),是否提前進(jìn)行validate操作; testWhileIdle:如果為true,表示有一個(gè)idle object evitor線程對(duì)idle object進(jìn)行掃描,如果validate失敗,此object會(huì)被從pool中drop掉;這一項(xiàng)只有在timeBet...
www.dbjr.com.cn/article/504...htm 2025-6-6