public class JedisSlotBasedConnectionHandler extends JedisClusterConnectionHandler
cache
Constructor and Description |
---|
JedisSlotBasedConnectionHandler(Set<HostAndPort> nodes,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig,
int timeout) |
Modifier and Type | Method and Description |
---|---|
Jedis |
getConnection() |
Jedis |
getConnectionFromSlot(int slot) |
assignSlotToNode, getConnectionFromNode, getNodes, renewSlotCache, returnBrokenConnection, returnConnection
public JedisSlotBasedConnectionHandler(Set<HostAndPort> nodes, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig, int timeout)
Copyright © 2015. All rights reserved.