List of usage examples for org.springframework.data.redis.core ListOperations rightPush
@Nullable Long rightPush(K key, V value);
From source file:com.company.project.service.dao.RedisDao.java
/** * Push a value to the right of list/*from w w w .j a v a 2 s. c o m*/ * @param key * @param value */ public void rightPushToList(String key, String value) { ListOperations opsForList = redisTemplate.opsForList(); opsForList.rightPush(key, value); }