-
-
可选元素概要
可选元素
long
globalCache 为true有效
缓存时间 到秒
boolean
boolean
globalCache 为true有效
true 代表按照访问时间过期
false 按照插入时间过期
int
globalCache 为true有效
最大缓存多少个
关联的类 jpa dao/mbatis plus的时候mapper专用参数
boolean
boolean
-
-
-
useCache
已过时。
是否使用缓存翻译
- 返回:
- 默认为true 如果是false的话
- 默认值:
- false
-
useRedis
已过时。
是否使用redis存放缓存
- 返回:
- 默认false
- 默认值:
- false
-
defaultAlias
默认的别名
- 返回:
- 默认值:
- ""
-
ref
关联的类 jpa dao/mbatis plus的时候mapper专用参数
- 返回:
- 默认值:
- org.dromara.core.trans.vo.VO.class
-
globalCache
boolean globalCache
全局缓存
- 返回:
- 默认值:
- false
-
isAccess
boolean isAccess
globalCache 为true有效
true 代表按照访问时间过期
false 按照插入时间过期
- 返回:
- 默认值:
- false
-
cacheSeconds
long cacheSeconds
globalCache 为true有效
缓存时间 到秒
- 返回:
- 默认值:
- 10L
-
maxCache
int maxCache
globalCache 为true有效
最大缓存多少个
- 返回:
- 默认值:
- 1000