public class JedisRedirectionException extends JedisDataException
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
private int |
slot |
private HostAndPort |
targetNode |
| Constructor and Description |
|---|
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 | Method and Description |
|---|---|
int |
getSlot() |
HostAndPort |
getTargetNode() |
private static final long serialVersionUID
private HostAndPort targetNode
private int slot
public JedisRedirectionException(java.lang.String message,
HostAndPort targetNode,
int slot)
public JedisRedirectionException(java.lang.Throwable cause,
HostAndPort targetNode,
int slot)
public JedisRedirectionException(java.lang.String message,
java.lang.Throwable cause,
HostAndPort targetNode,
int slot)
public HostAndPort getTargetNode()
public int getSlot()