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