| Package | Description |
|---|---|
| redis.clients.jedis | |
| redis.clients.jedis.exceptions | |
| redis.clients.util |
| Modifier and Type | Field and Description |
|---|---|
private HostAndPort |
JedisSentinelPool.currentHostMaster |
| Modifier and Type | Field and Description |
|---|---|
private java.util.concurrent.atomic.AtomicReference<HostAndPort> |
JedisFactory.hostAndPort |
| Modifier and Type | Method and Description |
|---|---|
private HostAndPort |
JedisClusterInfoCache.generateHostAndPort(java.util.List<java.lang.Object> hostInfos) |
HostAndPort |
JedisSentinelPool.getCurrentHostMaster() |
private HostAndPort |
JedisSentinelPool.initSentinels(java.util.Set<java.lang.String> sentinels,
java.lang.String masterName) |
private HostAndPort |
JedisSentinelPool.toHostAndPort(java.util.List<java.lang.String> getMasterAddrByNameResult) |
| Modifier and Type | Method and Description |
|---|---|
void |
JedisClusterInfoCache.assignSlotsToNode(java.util.List<java.lang.Integer> targetSlots,
HostAndPort targetNode) |
void |
JedisClusterConnectionHandler.assignSlotToNode(int slot,
HostAndPort targetNode) |
void |
JedisClusterInfoCache.assignSlotToNode(int slot,
HostAndPort targetNode) |
Jedis |
JedisClusterConnectionHandler.getConnectionFromNode(HostAndPort node) |
static java.lang.String |
JedisClusterInfoCache.getNodeKey(HostAndPort hnp) |
private void |
JedisSentinelPool.initPool(HostAndPort master) |
void |
JedisFactory.setHostAndPort(HostAndPort hostAndPort) |
void |
JedisClusterInfoCache.setNodeIfNotExist(HostAndPort node) |
| Modifier and Type | Method and Description |
|---|---|
private void |
JedisClusterConnectionHandler.initializeSlotsCache(java.util.Set<HostAndPort> startNodes,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
| Constructor and Description |
|---|
JedisCluster(java.util.Set<HostAndPort> nodes) |
JedisCluster(java.util.Set<HostAndPort> nodes,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
JedisCluster(java.util.Set<HostAndPort> nodes,
int timeout) |
JedisCluster(java.util.Set<HostAndPort> nodes,
int timeout,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
JedisCluster(java.util.Set<HostAndPort> nodes,
int timeout,
int maxRedirections) |
JedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int timeout,
int maxRedirections,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
JedisClusterConnectionHandler(java.util.Set<HostAndPort> nodes,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig,
int timeout) |
JedisSlotBasedConnectionHandler(java.util.Set<HostAndPort> nodes,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig,
int timeout) |
| Modifier and Type | Field and Description |
|---|---|
private HostAndPort |
JedisRedirectionException.targetNode |
| Modifier and Type | Method and Description |
|---|---|
HostAndPort |
JedisRedirectionException.getTargetNode() |
| Constructor and Description |
|---|
JedisAskDataException(java.lang.String message,
HostAndPort targetHost,
int slot) |
JedisAskDataException(java.lang.String message,
java.lang.Throwable cause,
HostAndPort targetHost,
int slot) |
JedisAskDataException(java.lang.Throwable cause,
HostAndPort targetHost,
int slot) |
JedisMovedDataException(java.lang.String message,
HostAndPort targetNode,
int slot) |
JedisMovedDataException(java.lang.String message,
java.lang.Throwable cause,
HostAndPort targetNode,
int slot) |
JedisMovedDataException(java.lang.Throwable cause,
HostAndPort targetNode,
int slot) |
JedisRedirectionException(java.lang.String message,
HostAndPort targetNode,
int slot) |
JedisRedirectionException(java.lang.String message,
java.lang.Throwable cause,
HostAndPort targetNode,
int slot) |
JedisRedirectionException(java.lang.Throwable cause,
HostAndPort targetNode,
int slot) |
| Modifier and Type | Field and Description |
|---|---|
private HostAndPort |
ClusterNodeInformation.node |
| Modifier and Type | Method and Description |
|---|---|
HostAndPort |
ClusterNodeInformationParser.getHostAndPortFromNodeLine(java.lang.String[] nodeInfoPartArray,
HostAndPort current) |
HostAndPort |
ClusterNodeInformation.getNode() |
| Modifier and Type | Method and Description |
|---|---|
HostAndPort |
ClusterNodeInformationParser.getHostAndPortFromNodeLine(java.lang.String[] nodeInfoPartArray,
HostAndPort current) |
ClusterNodeInformation |
ClusterNodeInformationParser.parse(java.lang.String nodeInfo,
HostAndPort current) |
| Constructor and Description |
|---|
ClusterNodeInformation(HostAndPort node) |