@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Inherited @Documented public @interface L2CachePut
| 限定符和类型 | 可选元素和说明 |
|---|---|
String |
cacheKey
缓存的key,cacheType=固定设值;此值生效
|
CacheKeyType |
cacheKeyType
缓存key的类型:1.固定设值;2.参数组值
|
String[] |
cacheNames
缓存名称
|
Class<? extends L2CacheStrategy> |
strategy
允许缓存
|
String[] |
value
缓存名称
|
@AliasFor(value="cacheNames") public abstract String[] value
@AliasFor(value="value") public abstract String[] cacheNames
public abstract CacheKeyType cacheKeyType
CacheKeyTypepublic abstract String cacheKey
public abstract Class<? extends L2CacheStrategy> strategy
L2CacheStrategyCopyright © 2023. All rights reserved.