Java+MySQL+redis缓存

编程five 45 0 ZIP 2019-05-02 22:05:55

案例中数据来自MySQL数据库,对查询出来的数据缓存到redis,redis缓存工具可以将缓存string,bean,list,map等类型,代码中有详细的注释,而且还将要缓存的数据进行了序列化,大家可以借鉴,进而更改成自己想要的格式。数据库配置使用了xml和propertis两种配置方式,redis缓存采用非切片和切片两种配置,大家可以自选择

用户评论
请输入评论内容
评分:
Generic placeholder image 卡了网匿名网友 2019-05-02 22:05:55

下载后。忘了放哪里了。说要评价才能下载?!

Generic placeholder image 卡了网匿名网友 2019-05-02 22:05:55

很好,谢谢分享

Generic placeholder image 卡了网匿名网友 2019-05-02 22:05:55

很不错,学习了

Generic placeholder image 卡了网匿名网友 2019-05-02 22:05:55

很好有用的

Generic placeholder image 卡了网匿名网友 2019-05-02 22:05:55

不是很完整,但是还有些借鉴价值

Generic placeholder image 卡了网匿名网友 2019-05-02 22:05:55

很不错谢谢楼主,很有参考价值

Generic placeholder image 卡了网匿名网友 2019-05-02 22:05:55

可以吧,还可以使用

Generic placeholder image 卡了网匿名网友 2019-05-02 22:05:55

谢谢楼主,很有参考价值

Generic placeholder image 卡了网匿名网友 2019-05-02 22:05:55

还可以吧,不是很完整,但是还有些借鉴价值