public class CustomizedCacheManager
extends org.springframework.cache.support.SimpleCacheManager
构造器和说明 |
---|
CustomizedCacheManager() |
限定符和类型 | 方法和说明 |
---|---|
protected long |
parseMaxIdleTime(String cacheName,
long defaultValue)
解析名称中是否包含maxIdleTime的特别设置,没有的话,就保持默认值
|
protected long |
parseTTL(String cacheName,
long defaultValue)
解析名称中是否包含ttl的特别设置,没有的话,就保持默认值
|
protected long parseTTL(String cacheName, long defaultValue)
cacheName
- defaultValue
- 毫秒为单位protected long parseMaxIdleTime(String cacheName, long defaultValue)
cacheName
- defaultValue
- 毫秒为单位