Class StringRedisTemplate

All Implemented Interfaces:
Aware, BeanClassLoaderAware, InitializingBean, RedisOperations<String,String>

public class StringRedisTemplate extends RedisTemplate<String,String>
String-focused extension of RedisTemplate. Since most operations against Redis are String based, this class provides a dedicated class that minimizes configuration of its more generic template especially in terms of serializers.

Note that this template exposes the RedisConnection used by the RedisCallback as a StringRedisConnection.

Author:
Costin Leau, Mark Paluch