AOP註解形式 整合memcache

1.首先自定義註解 :添加緩存 @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited public @interface Memcached { // key的前綴 default=STATIC的可以使用OMS清理緩存 String prefix() defaul
相關文章
相關標籤/搜索