public abstract class JedisClusterConnectionHandler extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,JedisPool> |
nodes |
protected Map<Integer,JedisPool> |
slots |
Constructor and Description |
---|
JedisClusterConnectionHandler(Set<HostAndPort> nodes) |
Modifier and Type | Method and Description |
---|---|
void |
assignSlotToNode(int slot,
HostAndPort targetNode) |
Map<String,JedisPool> |
getNodes() |
protected JedisPool |
getRandomConnection() |
public JedisClusterConnectionHandler(Set<HostAndPort> nodes)
public void assignSlotToNode(int slot, HostAndPort targetNode)
protected JedisPool getRandomConnection()
Copyright © 2014. All rights reserved.