public class ResourceCacheConfig extends GenericCacheConfig
DEFAULT_CACHE_EVENT_CLUSTER_PEER_LISTENER_PROPERTIES
构造器和说明 |
---|
ResourceCacheConfig() |
限定符和类型 | 方法和说明 |
---|---|
com.fr.third.net.sf.ehcache.config.CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration |
getBootstrapCacheLoaderFactoryConfiguration()
缓存引导加载器,节点启动和其它节点同步
|
com.fr.third.net.sf.ehcache.config.CacheConfiguration.CacheEventListenerFactoryConfiguration[] |
getCacheEventListenerFactoryConfigurations()
缓存事件监听器组
|
EhCacheMode |
getCacheMode() |
static ResourceCacheConfig |
getInstance() |
long |
getMonitorInterval() |
java.lang.String |
getName()
缓存名称
|
boolean |
isPassive() |
void |
setCacheMode(EhCacheMode mode) |
void |
setMonitorInterval(long monitorInterval) |
void |
setName(java.lang.String name) |
void |
setPassive(boolean passive) |
getDiskExpiryThreadIntervalSeconds, getMemoryStoreEvictionPolicy, getPersistenceConfiguration, getTimeToIdleSecond, getTimeToLiveSecond, isEternal, setDiskExpiryThreadIntervalSeconds, setEternal, setMemoryStoreEvictionPolicy, setPersistenceStrategy, setTimeToIdleSecond, setTimeToLiveSecond
getNameSpace
clone, initialize, mirror
public static ResourceCacheConfig getInstance()
public boolean isPassive()
public void setPassive(boolean passive)
public long getMonitorInterval()
public void setMonitorInterval(long monitorInterval)
public EhCacheMode getCacheMode()
public void setCacheMode(EhCacheMode mode)
public java.lang.String getName()
FineCacheConfig
public void setName(java.lang.String name)
public com.fr.third.net.sf.ehcache.config.CacheConfiguration.CacheEventListenerFactoryConfiguration[] getCacheEventListenerFactoryConfigurations()
FineCacheConfig
public com.fr.third.net.sf.ehcache.config.CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration getBootstrapCacheLoaderFactoryConfiguration()
FineCacheConfig
getBootstrapCacheLoaderFactoryConfiguration
在接口中 FineCacheConfig
getBootstrapCacheLoaderFactoryConfiguration
在类中 GenericCacheConfig