取得缓存表数据两种方法
2016-05-26 11:26
232 查看
方法一:Map<Object, Object> shopRedis01 = stringTemplate.opsForHash().entries("thirdpart_shop_list");
方法二:List<Object> shopRedis02 = stringTemplate.opsForHash().values("thirdpart_shop_list");
方法二:List<Object> shopRedis02 = stringTemplate.opsForHash().values("thirdpart_shop_list");
相关文章推荐
- tomcat参数调优
- mac 下用 brew 安装mongodb
- 导航栏返回按钮的定制
- 合并有序数组
- 我搬家了
- 使用AES时出现 Illegal key size or default parameters 时的解决办法
- 加载动画生成网站
- JAVA温习:Hibernate六大核心接口,两个主要配置文件
- JS设计模式之构造函数模式
- junit单元测试工具类
- Android - Broadcast机制
- Android如何解析json数组对象
- RS232电平 RS485电平 RS422电平 图文详解
- iOS 静态库,动态库与 Framework 浅析
- LeetCode 166: Fraction to Recurring Decimal
- Mac 屏幕取词
- ssh连接超时自动logout问题
- iOS开发之获取运营商和WIFI
- 史上最全最强SpringMVC详细示例实战教程
- 汉字转换为拼音的JavaScript库