redis.clients.jedis.exceptions
Class JedisRedirectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by redis.clients.jedis.exceptions.JedisException
                  extended by redis.clients.jedis.exceptions.JedisDataException
                      extended by redis.clients.jedis.exceptions.JedisRedirectionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JedisAskDataException, JedisMovedDataException

public class JedisRedirectionException
extends JedisDataException

See Also:
Serialized Form

Constructor Summary
JedisRedirectionException(String message, HostAndPort targetNode, int slot)
           
JedisRedirectionException(String message, Throwable cause, HostAndPort targetNode, int slot)
           
JedisRedirectionException(Throwable cause, HostAndPort targetNode, int slot)
           
 
Method Summary
 int getSlot()
           
 HostAndPort getTargetNode()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

getTargetNode

public HostAndPort getTargetNode()

getSlot

public int getSlot()


Copyright © 2014. All rights reserved.