public class RedisFailoverExecutor extends Object implements RedisExecutor
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() |
public RedisFailoverExecutor(int timeout, RedisExecutor base)
public <T> T execute(RedisCallable<T> callable) throws IOException, redis.clients.jedis.exceptions.JedisConnectionException
execute
in interface RedisExecutor
IOException
redis.clients.jedis.exceptions.JedisConnectionException
public redis.clients.util.Pool<redis.clients.jedis.Jedis> getPool()
getPool
in interface RedisExecutor
Copyright © 2015 Nuxeo SA. All rights reserved.