public class RedisPoolExecutor extends Object implements RedisExecutor
Modifier and Type | Field and Description |
---|---|
protected redis.clients.util.Pool<redis.clients.jedis.Jedis> |
pool |
NOOP
Constructor and Description |
---|
RedisPoolExecutor(redis.clients.util.Pool<redis.clients.jedis.Jedis> pool) |
Modifier and Type | Method and Description |
---|---|
<T> T |
execute(RedisCallable<T> callable) |
redis.clients.util.Pool<redis.clients.jedis.Jedis> |
getPool() |
boolean |
supportPipelined()
Is the executor support pipelined operations
|
protected redis.clients.util.Pool<redis.clients.jedis.Jedis> pool
public RedisPoolExecutor(redis.clients.util.Pool<redis.clients.jedis.Jedis> pool)
public <T> T execute(RedisCallable<T> callable) throws redis.clients.jedis.exceptions.JedisException
execute
in interface RedisExecutor
redis.clients.jedis.exceptions.JedisException
public redis.clients.util.Pool<redis.clients.jedis.Jedis> getPool()
getPool
in interface RedisExecutor
public boolean supportPipelined()
RedisExecutor
supportPipelined
in interface RedisExecutor
Copyright © 2015 Nuxeo SA. All rights reserved.