Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.data.redis.connection.jredis
Class JredisUtils

    java.lang.Object
      org.springframework.data.redis.connection.jredis.JredisUtils

    public abstract class JredisUtils

extends Object

Helper class featuring methods for JRedis connection handling, providing support for exception translation.

Constructor Summary
`JredisUtils()`

Method Summary
`static DataAccessException` | `convertJredisAccessException(org.jredis.ClientRuntimeException ex)` Converts the given, native JRedis exception to Spring's DAO hierarchy.
`static DataAccessException` | `convertJredisAccessException(org.jredis.RedisException ex)` Converts the given, native JRedis exception to Spring's DAO hierarchy.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### JredisUtils

    public JredisUtils()

Method Detail

### convertJredisAccessException

    public static DataAccessException convertJredisAccessException(org.jredis.RedisException ex)

  Converts the given, native JRedis exception to Spring's DAO hierarchy.

  Parameters:
    `ex` - JRedis exception
  Returns:
    converted exception

### convertJredisAccessException

    public static DataAccessException convertJredisAccessException(org.jredis.ClientRuntimeException ex)

  Converts the given, native JRedis exception to Spring's DAO hierarchy.

  Parameters:
    `ex` - JRedis exception
  Returns:
    converted exception

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD