Example usage for org.springframework.data.redis.support.collections DefaultRedisList DefaultRedisList

List of usage examples for org.springframework.data.redis.support.collections DefaultRedisList DefaultRedisList

Introduction

In this page you can find the example usage for org.springframework.data.redis.support.collections DefaultRedisList DefaultRedisList.

Prototype

public DefaultRedisList(BoundListOperations<String, E> boundOps, int maxSize) 

Source Link

Document

Constructs a new DefaultRedisList instance.

Usage

From source file:com.afousan.service.RetwisRepository.java

private RedisList<String> mentions(String uid) {
    return new DefaultRedisList<String>(KeyUtils.mentions(uid), template);
}

From source file:com.afousan.service.RetwisRepository.java

private RedisList<String> posts(String uid) {
    return new DefaultRedisList<String>(KeyUtils.posts(uid), template);
}