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

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

Introduction

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

Prototype

ZSetOperations<K, V> opsForZSet();

Source Link

Document

Returns the operations performed on zset values (also known as sorted sets).

Usage

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

/**
 * Constructs a new <code>DefaultBoundZSetOperations</code> instance.
 * /*from  www .  j a  va 2 s  .c o m*/
 * @param key
 * @param oeprations
 */
public DefaultBoundZSetOperations(K key, RedisOperations<K, V> operations) {
    super(key, operations);
    this.ops = operations.opsForZSet();
}