public abstract class JedisClusterConnectionHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
protected JedisClusterInfoCache |
cache |
| Constructor and Description |
|---|
JedisClusterConnectionHandler(Set<HostAndPort> nodes,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig,
int connectionTimeout,
int soTimeout) |
| Modifier and Type | Method and Description |
|---|---|
Jedis |
getConnectionFromNode(HostAndPort node) |
Map<String,JedisPool> |
getNodes() |
void |
renewSlotCache() |
protected final JedisClusterInfoCache cache
public JedisClusterConnectionHandler(Set<HostAndPort> nodes, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig, int connectionTimeout, int soTimeout)
public Jedis getConnectionFromNode(HostAndPort node)
public void renewSlotCache()
Copyright © 2015. All rights reserved.