Skip to content

jinhuaxing/simple-cache-interceptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Simple Cache Interceptor

An spring AOP interceptor, which caches the return value of the intercepted method.

Spymemcached is used as the client to Memcached backend.

Annotation is used to configure the intercepted method, providing the key generating information. There're four ways to generate the key: (1) Set the key explicitly (2) Use the arguments of the intercepted method (3) Use the properties of the first argument of the intercepted method (4) Use the factory class which can access all arguments of the intercepted method.

Namespace is supported.

Cache eviction (on namespace level or key level) is supported.

See the testing code for usage.

About

An annotation based spring interceptor, to cache the return value of a method call.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages