Class JedisRedirectionException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JedisAskDataException, JedisMovedDataException

public class JedisRedirectionException extends JedisDataException
Umbrella exception class representing all redirection replies from Redis.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • targetNode

      private final HostAndPort targetNode
    • slot

      private final int slot
  • Constructor Details

    • 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 Details

    • getTargetNode

      public final HostAndPort getTargetNode()
    • getSlot

      public final int getSlot()