List of usage examples for org.springframework.data.redis.support.collections DefaultRedisSet DefaultRedisSet
public DefaultRedisSet(String key, RedisOperations<String, E> operations)
From source file:com.afousan.service.RetwisRepository.java
private RedisSet<String> following(String uid) { return new DefaultRedisSet<String>(KeyUtils.following(uid), template); }
From source file:com.afousan.service.RetwisRepository.java
private RedisSet<String> followers(String uid) { return new DefaultRedisSet<String>(KeyUtils.followers(uid), template); }