public static class CacheComponentConfiguration.CacheConfigurationNestedConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static Class |
CAMEL_NESTED_CLASS |
Constructor and Description |
---|
CacheConfigurationNestedConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.component.cache.CacheLoaderRegistry |
getCacheLoaderRegistry() |
String |
getCacheName() |
Long |
getDiskExpiryThreadIntervalSeconds() |
Boolean |
getDiskPersistent() |
String |
getDiskStorePath()
Deprecated.
|
Boolean |
getEternal() |
org.apache.camel.component.cache.CacheEventListenerRegistry |
getEventListenerRegistry() |
Integer |
getMaxElementsInMemory() |
net.sf.ehcache.store.MemoryStoreEvictionPolicy |
getMemoryStoreEvictionPolicy() |
Boolean |
getObjectCache() |
Boolean |
getOverflowToDisk() |
Long |
getTimeToIdleSeconds() |
Long |
getTimeToLiveSeconds() |
void |
setCacheLoaderRegistry(org.apache.camel.component.cache.CacheLoaderRegistry cacheLoaderRegistry) |
void |
setCacheName(String cacheName) |
void |
setDiskExpiryThreadIntervalSeconds(Long diskExpiryThreadIntervalSeconds) |
void |
setDiskPersistent(Boolean diskPersistent) |
void |
setDiskStorePath(String diskStorePath)
Deprecated.
|
void |
setEternal(Boolean eternal) |
void |
setEventListenerRegistry(org.apache.camel.component.cache.CacheEventListenerRegistry eventListenerRegistry) |
void |
setMaxElementsInMemory(Integer maxElementsInMemory) |
void |
setMemoryStoreEvictionPolicy(net.sf.ehcache.store.MemoryStoreEvictionPolicy memoryStoreEvictionPolicy) |
void |
setObjectCache(Boolean objectCache) |
void |
setOverflowToDisk(Boolean overflowToDisk) |
void |
setTimeToIdleSeconds(Long timeToIdleSeconds) |
void |
setTimeToLiveSeconds(Long timeToLiveSeconds) |
public static final Class CAMEL_NESTED_CLASS
public CacheConfigurationNestedConfiguration()
public String getCacheName()
public void setCacheName(String cacheName)
public Integer getMaxElementsInMemory()
public void setMaxElementsInMemory(Integer maxElementsInMemory)
public net.sf.ehcache.store.MemoryStoreEvictionPolicy getMemoryStoreEvictionPolicy()
public void setMemoryStoreEvictionPolicy(net.sf.ehcache.store.MemoryStoreEvictionPolicy memoryStoreEvictionPolicy)
public Boolean getOverflowToDisk()
public void setOverflowToDisk(Boolean overflowToDisk)
@Deprecated @DeprecatedConfigurationProperty public String getDiskStorePath()
@Deprecated public void setDiskStorePath(String diskStorePath)
public Boolean getEternal()
public void setEternal(Boolean eternal)
public Long getTimeToLiveSeconds()
public void setTimeToLiveSeconds(Long timeToLiveSeconds)
public Long getTimeToIdleSeconds()
public void setTimeToIdleSeconds(Long timeToIdleSeconds)
public Boolean getDiskPersistent()
public void setDiskPersistent(Boolean diskPersistent)
public Long getDiskExpiryThreadIntervalSeconds()
public void setDiskExpiryThreadIntervalSeconds(Long diskExpiryThreadIntervalSeconds)
public org.apache.camel.component.cache.CacheEventListenerRegistry getEventListenerRegistry()
public void setEventListenerRegistry(org.apache.camel.component.cache.CacheEventListenerRegistry eventListenerRegistry)
public org.apache.camel.component.cache.CacheLoaderRegistry getCacheLoaderRegistry()
public void setCacheLoaderRegistry(org.apache.camel.component.cache.CacheLoaderRegistry cacheLoaderRegistry)
public Boolean getObjectCache()
public void setObjectCache(Boolean objectCache)
Apache Camel