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