public abstract class GenericCacheConfig extends DefaultConfiguration implements FineCacheConfig
DEFAULT_CACHE_EVENT_CLUSTER_PEER_LISTENER_PROPERTIES
构造器和说明 |
---|
GenericCacheConfig() |
限定符和类型 | 方法和说明 |
---|---|
com.fr.third.net.sf.ehcache.config.CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration |
getBootstrapCacheLoaderFactoryConfiguration()
缓存引导加载器,节点启动和其它节点同步
|
com.fr.third.net.sf.ehcache.config.CacheConfiguration.CacheEventListenerFactoryConfiguration[] |
getCacheEventListenerFactoryConfigurations()
缓存事件监听器组
|
long |
getDiskExpiryThreadIntervalSeconds()
线程检查缓存超时的间隔时间
|
java.lang.String |
getMemoryStoreEvictionPolicy()
缓存过期策略
|
com.fr.third.net.sf.ehcache.config.PersistenceConfiguration |
getPersistenceConfiguration()
持久化策略
|
int |
getTimeToIdleSecond()
使用后的空闲时间
|
int |
getTimeToLiveSecond()
创建后的存活时间
|
boolean |
isEternal()
缓存是否常驻,true时timeToIdleSecond和timeToLiveSecond无效
|
void |
setDiskExpiryThreadIntervalSeconds(long diskExpiryThreadIntervalSeconds) |
void |
setEternal(java.lang.Boolean eternal) |
void |
setMemoryStoreEvictionPolicy(java.lang.String memoryStoreEvictionPolicy) |
void |
setPersistenceStrategy(java.lang.String strategy) |
void |
setTimeToIdleSecond(int timeToIdleSecond) |
void |
setTimeToLiveSecond(int timeToLiveSecond) |
getNameSpace
clone, initialize, mirror
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public boolean isEternal()
FineCacheConfig
isEternal
在接口中 FineCacheConfig
public void setEternal(java.lang.Boolean eternal)
public int getTimeToIdleSecond()
FineCacheConfig
getTimeToIdleSecond
在接口中 FineCacheConfig
public void setTimeToIdleSecond(int timeToIdleSecond)
public int getTimeToLiveSecond()
FineCacheConfig
getTimeToLiveSecond
在接口中 FineCacheConfig
public void setTimeToLiveSecond(int timeToLiveSecond)
public java.lang.String getMemoryStoreEvictionPolicy()
FineCacheConfig
getMemoryStoreEvictionPolicy
在接口中 FineCacheConfig
public void setMemoryStoreEvictionPolicy(java.lang.String memoryStoreEvictionPolicy)
public long getDiskExpiryThreadIntervalSeconds()
FineCacheConfig
getDiskExpiryThreadIntervalSeconds
在接口中 FineCacheConfig
public void setDiskExpiryThreadIntervalSeconds(long diskExpiryThreadIntervalSeconds)
public com.fr.third.net.sf.ehcache.config.PersistenceConfiguration getPersistenceConfiguration()
FineCacheConfig
getPersistenceConfiguration
在接口中 FineCacheConfig
public void setPersistenceStrategy(java.lang.String strategy)
public com.fr.third.net.sf.ehcache.config.CacheConfiguration.CacheEventListenerFactoryConfiguration[] getCacheEventListenerFactoryConfigurations()
FineCacheConfig
getCacheEventListenerFactoryConfigurations
在接口中 FineCacheConfig
public com.fr.third.net.sf.ehcache.config.CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration getBootstrapCacheLoaderFactoryConfiguration()
FineCacheConfig
getBootstrapCacheLoaderFactoryConfiguration
在接口中 FineCacheConfig