title: Redis client : create new connections when pool size gets exhausted
body: <p>We are using redis for caching purpose in our application. </p>
  
  <p>Our goal is to create new Redis connections as the pool size exhaust or crosses a certain threshold so that we can keep the number of idle connections minimal . This way a redis-server resource is allocated to a  application-server which really needs it.</p>
  
  <p>In our java application we are using  spring's JedisConnectionFactory of spring-data-redis 1.4.2 which internally uses Jedis 2.6.2 and commons-pool 2.0 .</p>
  
  <p>The latest versions of GenericObjectPool does not have option of growing pool size dynamically. (Earlier versions of commons-pool had whenExhaustAction option)</p>
  
  <p>I also could not find a way to pass a custom object pool in Jedis. </p>
  
  <p>Please suggest how can we achieve this. Does any other Redis-Client has a support for this?</p>