| 程序包 | 说明 | 
|---|---|
| com.actionsoft.apps.resource.plugin.profile | |
| com.actionsoft.bpms.commons.cache | 
| 限定符和类型 | 方法和说明 | 
|---|---|
CachePluginProfile | 
CachePluginProfile.maxElements(long maxElements)
设置最大缓存个数 
 | 
CachePluginProfile | 
CachePluginProfile.setEvictionPolicy(EvictionPolicy evictionPolicy)
设置过期淘汰算法 
 | 
CachePluginProfile | 
CachePluginProfile.timeToIdleSeconds(long timeToIdleSeconds)
设置一个时间指示对象空闲多久后失效,默认不失效 
 | 
CachePluginProfile | 
CachePluginProfile.timeToLiveSeconds(long timeToLiveSeconds)
设置一个时间指示对象缓存多久后失效,默认不失效 
 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
CachePluginProfile | 
Cache.getConfiguration()
Cache插件配置模型 
 | 
| 构造器和说明 | 
|---|
Cache(CachePluginProfile configuration)
构造方法,初始化一个新的缓存存储和缓存索引。 
 | 
Copyright © Actionsoft Co., Ltd. All Rights Reserved.