Spring Data Key-Value

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

java.lang.Object
  extended by org.springframework.data.keyvalue.redis.connection.jredis.JredisUtils

public abstract class JredisUtils
extends Object

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

Author:
Costin Leau

Constructor Summary
JredisUtils()
           
 
Method Summary
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

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.