public class RedisFailoverExecutor extends RedisAbstractExecutor
| Modifier and Type | Field and Description |
|---|---|
protected RedisExecutor |
executor |
protected int |
timeout |
scripts| Constructor and Description |
|---|
RedisFailoverExecutor(int timeout,
RedisExecutor base) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
execute(RedisCallable<T> callable) |
protected <T> T |
executeWithRetryPolicy(RedisCallable<T> callable,
Retry.Policy policy) |
redis.clients.util.Pool<redis.clients.jedis.Jedis> |
getPool() |
void |
subscribe(redis.clients.jedis.JedisPubSub subscriber,
String channel)
Run a subscriber, do not return.
|
evalsha, evalsha, scriptLoadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpsubscribe, startMonitor, stopMonitorprotected 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
redis.clients.jedis.exceptions.JedisConnectionExceptionpublic void subscribe(redis.clients.jedis.JedisPubSub subscriber, String channel) throws redis.clients.jedis.exceptions.JedisConnectionException
RedisExecutorredis.clients.jedis.exceptions.JedisConnectionExceptionprotected <T> T executeWithRetryPolicy(RedisCallable<T> callable, Retry.Policy policy)
public redis.clients.util.Pool<redis.clients.jedis.Jedis> getPool()
Copyright © 2019 Nuxeo. All rights reserved.