Example usage for org.springframework.data.redis.core RedisOperations opsForValue

List of usage examples for org.springframework.data.redis.core RedisOperations opsForValue

Introduction

In this page you can find the example usage for org.springframework.data.redis.core RedisOperations opsForValue.

Prototype

ValueOperations<K, V> opsForValue();

Source Link

Document

Returns the operations performed on simple values (or Strings in Redis terminology).

Usage

From source file:com.mauersu.util.redis.DefaultBoundValueOperations.java

/**
 * Constructs a new <code>DefaultBoundValueOperations</code> instance.
 * //from  w w  w . ja  v  a  2  s  .c  o m
 * @param key
 * @param operations
 */
public DefaultBoundValueOperations(K key, RedisOperations<K, V> operations) {
    super(key, operations);
    this.ops = operations.opsForValue();
}