Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WillWang2015/AutoLoadCache

Repository files navigation

AutoLoadCache


Build Status Maven Central GitHub license

现在使用的缓存技术很多,比如RedisMemcacheEhCache等,甚至还有使用ConcurrentHashMapHashTable 来实现缓存。但在缓存的使用上,每个人都有自己的实现方式,大部分是直接与业务代码绑定,随着业务的变化,要更换缓存方案时,非常麻烦。接下来我们就使用AOP + Annotation 来解决这个问题,同时使用自动加载机制 来实现数据"常驻内存"。

Spring AOP这几年非常热门,使用也越来越多,但个人建议AOP只用于处理一些辅助的功能(比如:接下来我们要说的缓存),而不能把业务逻辑使用AOP中实现,尤其是在需要"事务"的环境中。

###设计思想及原理

###使用方法

###注解(Annotation)说明

###表达式的应用

###缓存删除

###注意事项

###缓存管理页面

###与Spring Cache的区别

###未来计划:redis3.0 集群研究以及使用

QQ群:429274886

About

AutoLoadCache 是一个高效的缓存管理解决方案,而且实现了自动加载(或叫预加载)和"拿来主义"机制,能非常巧妙地解决系统的性能及并发问题。

Resources

License

Stars

Watchers

Forks

Packages

Contributors

Languages

  • Java 100.0%

AltStyle によって変換されたページ (->オリジナル) /