29-redis分布式缓存---从我们的redis缓存中取值

通过getObject(Object key)方法,如果redis缓存中有值,直接取出,不用访问数据库了

posted @ 2021-12-03 00:07  不是孩子了  阅读(105)  评论(0)    收藏  举报