redis.clients.jedis.exceptions
Class JedisRedirectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
redis.clients.jedis.exceptions.JedisException
redis.clients.jedis.exceptions.JedisDataException
redis.clients.jedis.exceptions.JedisRedirectionException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- JedisAskDataException, JedisMovedDataException
public class JedisRedirectionException
- extends JedisDataException
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
JedisRedirectionException
public JedisRedirectionException(String message,
HostAndPort targetNode,
int slot)
JedisRedirectionException
public JedisRedirectionException(Throwable cause,
HostAndPort targetNode,
int slot)
JedisRedirectionException
public JedisRedirectionException(String message,
Throwable cause,
HostAndPort targetNode,
int slot)
getTargetNode
public HostAndPort getTargetNode()
getSlot
public int getSlot()
Copyright © 2014. All rights reserved.