public class CacheExecutorImp extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static CacheExecutorImp |
global |
| 构造器和说明 |
|---|
CacheExecutorImp() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
buildKey(Method method,
Map<String,Object> parMap) |
protected Map<String,Object> |
buildParams(ParamWrap[] params,
Object[] values) |
Object |
cache(Cache anno,
Method method,
ParamWrap[] params,
Object[] values,
SupplierEx callable)
添加缓存
|
void |
cachePut(CachePut anno,
Method method,
ParamWrap[] params,
Object[] values,
Object newValue)
更新缓存
|
void |
cacheRemove(CacheRemove anno,
Method method,
ParamWrap[] params,
Object[] values)
清除缓存
|
protected String |
formatTagsOrKey(String str,
Map map) |
public static final CacheExecutorImp global
public Object cache(Cache anno, Method method, ParamWrap[] params, Object[] values, SupplierEx callable) throws Throwable
Throwablepublic void cacheRemove(CacheRemove anno, Method method, ParamWrap[] params, Object[] values)
public void cachePut(CachePut anno, Method method, ParamWrap[] params, Object[] values, Object newValue)
Copyright © 2021. All rights reserved.