jedis高版本,JedisPoolConfig,maxActive属性,maxWait,配置maxActive,maxTotal,maxWaitMillis
2015-09-14 17:45
1406 查看
高版本jedis配置JedisPoolConfig的maxActive,maxWait应该为:
<bean id="jedisPoolConfig" class="redis.clients.jedis.JedisPoolConfig"> <property name="maxIdle" value="${redis.pool.maxIdle}" /> <property name="maxTotal" value="${redis.pool.maxActive}" /> <property name="maxWaitMillis" value="${redis.pool.maxWait}" /> <property name="testOnBorrow" value="${redis.pool.testOnBorrow}" /> <property name="testOnReturn" value="${redis.pool.testOnReturn}" /> </bean>
相关文章推荐
- AIX常用
- POJ1681 Painter's Problem【高斯消元法】
- Climbing Stairs
- 配置sendmail转发邮件
- jerbrains产品算号
- OnInitUpdate、OnUpdate、OnDraw与OnPaint!
- 如何解决DrawerLayout打开时, main content view 中的按钮仍然可以被点击的问题?
- linux设备模型详解 http://blog.csdn.net/linux_xiaomugua/article/details/6989386
- [Leetcode]Paint House
- ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction
- LeetCode_Submission Details
- aircrack加reaver破解带有wps的wifi
- Failed to fetch URL https://dl-ssl.google.com/glass/gdk/addon.xml, reason: HttpHostConnect Connectio
- AI资源
- RAID技术
- HDU 5009 Paint Pearls
- LeetCode_factorial-trailing-zeroes
- leetcode 70Climbing Stairs
- UVa 10986 - Sending email
- nginx: [emerg] getpwnam(“www”) failed错误