+ changed pooling to usePool for Jedis and JRedis connections
This commit is contained in:
@@ -217,7 +217,7 @@ public class JedisConnectionFactory implements InitializingBean, DisposableBean,
|
||||
*
|
||||
* @return Returns the use of connection pooling.
|
||||
*/
|
||||
public boolean isPooling() {
|
||||
public boolean getUsePool() {
|
||||
return usePool;
|
||||
}
|
||||
|
||||
@@ -226,7 +226,7 @@ public class JedisConnectionFactory implements InitializingBean, DisposableBean,
|
||||
*
|
||||
* @param usePool The usePool to set.
|
||||
*/
|
||||
public void setPooling(boolean usePool) {
|
||||
public void setUsePool(boolean usePool) {
|
||||
this.usePool = usePool;
|
||||
}
|
||||
}
|
||||
@@ -178,7 +178,7 @@ public class JredisConnectionFactory implements InitializingBean, DisposableBean
|
||||
*
|
||||
* @return Returns the use of connection pooling.
|
||||
*/
|
||||
public boolean isPooling() {
|
||||
public boolean getUsePool() {
|
||||
return usePool;
|
||||
}
|
||||
|
||||
@@ -187,7 +187,7 @@ public class JredisConnectionFactory implements InitializingBean, DisposableBean
|
||||
*
|
||||
* @param usePool The usePool to set.
|
||||
*/
|
||||
public void setPooling(boolean usePool) {
|
||||
public void setUsePool(boolean usePool) {
|
||||
this.usePool = usePool;
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ public class JedisConnectionIntegrationTests extends AbstractConnectionIntegrati
|
||||
|
||||
public JedisConnectionIntegrationTests() {
|
||||
factory = new JedisConnectionFactory();
|
||||
factory.setPooling(false);
|
||||
factory.setUsePool(false);
|
||||
factory.afterPropertiesSet();
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ public class JRedisConnectionIntegrationTests extends AbstractConnectionIntegrat
|
||||
|
||||
public JRedisConnectionIntegrationTests() {
|
||||
factory = new JredisConnectionFactory();
|
||||
factory.setPooling(false);
|
||||
factory.setUsePool(false);
|
||||
factory.afterPropertiesSet();
|
||||
}
|
||||
|
||||
|
||||
@@ -34,14 +34,14 @@ public abstract class CollectionTestParams {
|
||||
ObjectFactory<Person> personFactory = new PersonObjectFactory();
|
||||
|
||||
JedisConnectionFactory jedisConnFactory = new JedisConnectionFactory();
|
||||
jedisConnFactory.setPooling(false);
|
||||
jedisConnFactory.setUsePool(false);
|
||||
jedisConnFactory.afterPropertiesSet();
|
||||
|
||||
RedisTemplate<String, String> stringTemplate = new RedisTemplate<String, String>(jedisConnFactory);
|
||||
RedisTemplate<String, Person> personTemplate = new RedisTemplate<String, Person>(jedisConnFactory);
|
||||
|
||||
JredisConnectionFactory jredisConnFactory = new JredisConnectionFactory();
|
||||
jredisConnFactory.setPooling(false);
|
||||
jredisConnFactory.setUsePool(false);
|
||||
jredisConnFactory.afterPropertiesSet();
|
||||
|
||||
RedisTemplate<String, String> stringTemplateJR = new RedisTemplate<String, String>(jredisConnFactory);
|
||||
|
||||
@@ -50,14 +50,14 @@ public class RedisMapTests extends AbstractRedisMapTests<Object, Object> {
|
||||
ObjectFactory<Person> personFactory = new PersonObjectFactory();
|
||||
|
||||
JedisConnectionFactory jedisConnFactory = new JedisConnectionFactory();
|
||||
jedisConnFactory.setPooling(false);
|
||||
jedisConnFactory.setUsePool(false);
|
||||
jedisConnFactory.afterPropertiesSet();
|
||||
|
||||
RedisTemplate<String, String> genericTemplate = new RedisTemplate<String, String>(jedisConnFactory);
|
||||
|
||||
|
||||
JredisConnectionFactory jredisConnFactory = new JredisConnectionFactory();
|
||||
jredisConnFactory.setPooling(false);
|
||||
jredisConnFactory.setUsePool(false);
|
||||
jredisConnFactory.afterPropertiesSet();
|
||||
|
||||
RedisTemplate<String, String> genericTemplateJR = new RedisTemplate<String, String>(jredisConnFactory);
|
||||
|
||||
Reference in New Issue
Block a user