public class RedisFailoverExecutor extends Object implements RedisExecutor
Modifier and Type | Field and Description |
---|---|
protected RedisExecutor |
executor |
protected int |
timeout |
NOOP
Constructor and Description |
---|
RedisFailoverExecutor(int timeout,
RedisExecutor base) |
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 final int timeout
protected final RedisExecutor executor
public RedisFailoverExecutor(int timeout, RedisExecutor base)
public <T> T execute(RedisCallable<T> callable) throws redis.clients.jedis.exceptions.JedisConnectionException
execute
in interface RedisExecutor
redis.clients.jedis.exceptions.JedisConnectionException
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.