Add default implementation of JredisPool

- Add DefaultJredisPool to pool JRedis connections

- Prevent returning the same resource to the pool
multiple times on JredisConnection close

- Fixes DATAREDIS-154 previous JRedis pool left
broken connections in the pool
This commit is contained in:
Jennifer Hickey
2013-06-11 17:39:13 -07:00
parent 280e6a6ccc
commit 265d4cd18f
11 changed files with 430 additions and 18 deletions

View File

@@ -19,10 +19,8 @@ Import-Template:
org.w3c.dom.*;version="0",
javax.xml.transform.*;resolution:="optional";version="0",
org.jredis.*;resolution:="optional";version="[1.0.0, 2.0.0)",
org.jredis.ri.alphazero.*;resolution:="optional";version="[1.0.0, 2.0.0)",
redis.clients.*;resolution:="optional";version="[2.1.0, 2.1.0]",
org.idevlab.rjc.*;resolution:="optional";version="[0.6.4, 0.6.4]",
org.apache.commons.pool.impl.*;resolution:="optional";version="[1.0.0, 3.0.0)",
org.apache.commons.pool.*;resolution:="optional";version="[1.0.0, 3.0.0)",
org.codehaus.jackson.*;resolution:="optional";version="[1.6, 2.0.0)",
org.apache.commons.beanutils.*;resolution:="optional";version=1.8.5,
redis.*;resolution:="optional";version="[0.2, 1.0)",