目录贴: 跟我学Shiro目录贴
Shiro提供了类似于Spring的Cache抽象,即Shiro本身不实现Cache,但是对Cache进行了又抽象,方便更换不同的底层Cache实现。对于Cache的一些概念可以参考我的《Spring Cache抽象详解》:http://jinnianshilongnian.iteye.com/blog/2001040。
Shiro提供的Cache接口:
Java代码 收藏代码
public interface Cache
本文介绍了Shiro框架中缓存机制的设计理念及其接口定义,Shiro借鉴了Spring的缓存抽象思想,提供了灵活的Cache接口,使得开发者可以根据实际需求选择不同的底层缓存实现。
目录贴: 跟我学Shiro目录贴
Shiro提供了类似于Spring的Cache抽象,即Shiro本身不实现Cache,但是对Cache进行了又抽象,方便更换不同的底层Cache实现。对于Cache的一些概念可以参考我的《Spring Cache抽象详解》:http://jinnianshilongnian.iteye.com/blog/2001040。
Shiro提供的Cache接口:
Java代码 收藏代码
public interface Cache
3271

被折叠的 条评论
为什么被折叠?