public class CacheExecutorImp
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static CacheExecutorImp |
global |
构造器和说明 |
---|
CacheExecutorImp() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
cache(Cache anno,
Invocation inv,
SupplierEx executor)
添加缓存
|
void |
cachePut(CachePut anno,
Invocation inv,
java.lang.Object rstValue)
缓存更新
|
void |
cacheRemove(CacheRemove anno,
Invocation inv,
java.lang.Object rstValue)
清除移除
|
public static final CacheExecutorImp global
public java.lang.Object cache(Cache anno, Invocation inv, SupplierEx executor) throws java.lang.Throwable
anno
- 注解inv
- 拦截动作executor
- 真实执行者java.lang.Throwable
public void cacheRemove(CacheRemove anno, Invocation inv, java.lang.Object rstValue)
anno
- 注解inv
- 拦截动作rstValue
- 结果值public void cachePut(CachePut anno, Invocation inv, java.lang.Object rstValue)
anno
- 注解inv
- 拦截动作rstValue
- 结果值(将做更新值用)