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

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

Introduction

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

Prototype

ListOperations<K, V> opsForList();

Source Link

Document

Returns the operations performed on list values.

Usage

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

/**
 * Constructs a new <code>DefaultBoundListOperations</code> instance.
 * //from w ww  .j a v  a2s. c om
 * @param key
 * @param operations
 */
public DefaultBoundListOperations(K key, RedisOperations<K, V> operations) {
    super(key, operations);
    this.ops = operations.opsForList();
}