org.apache.camel.component.cache
Class CacheConfiguration
java.lang.Object
org.apache.camel.component.cache.CacheConfiguration
- All Implemented Interfaces:
- Cloneable
public class CacheConfiguration
- extends Object
- implements Cloneable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheConfiguration
public CacheConfiguration()
CacheConfiguration
public CacheConfiguration(URI uri)
throws Exception
- Throws:
Exception
copy
public CacheConfiguration copy()
parseURI
public void parseURI(URI uri)
throws Exception
- Throws:
Exception
getCacheName
public String getCacheName()
setCacheName
public void setCacheName(String cacheName)
getMaxElementsInMemory
public int getMaxElementsInMemory()
setMaxElementsInMemory
public void setMaxElementsInMemory(int maxElementsInMemory)
getMemoryStoreEvictionPolicy
public net.sf.ehcache.store.MemoryStoreEvictionPolicy getMemoryStoreEvictionPolicy()
setMemoryStoreEvictionPolicy
public void setMemoryStoreEvictionPolicy(net.sf.ehcache.store.MemoryStoreEvictionPolicy memoryStoreEvictionPolicy)
isOverflowToDisk
public boolean isOverflowToDisk()
setOverflowToDisk
public void setOverflowToDisk(boolean overflowToDisk)
getDiskStorePath
public String getDiskStorePath()
setDiskStorePath
public void setDiskStorePath(String diskStorePath)
isEternal
public boolean isEternal()
setEternal
public void setEternal(boolean eternal)
getTimeToLiveSeconds
public long getTimeToLiveSeconds()
setTimeToLiveSeconds
public void setTimeToLiveSeconds(long timeToLiveSeconds)
getTimeToIdleSeconds
public long getTimeToIdleSeconds()
setTimeToIdleSeconds
public void setTimeToIdleSeconds(long timeToIdleSeconds)
isDiskPersistent
public boolean isDiskPersistent()
setDiskPersistent
public void setDiskPersistent(boolean diskPersistent)
getDiskExpiryThreadIntervalSeconds
public long getDiskExpiryThreadIntervalSeconds()
setDiskExpiryThreadIntervalSeconds
public void setDiskExpiryThreadIntervalSeconds(long diskExpiryThreadIntervalSeconds)
setEventListenerRegistry
public void setEventListenerRegistry(CacheEventListenerRegistry eventListenerRegistry)
getEventListenerRegistry
public CacheEventListenerRegistry getEventListenerRegistry()
setCacheLoaderRegistry
public void setCacheLoaderRegistry(CacheLoaderRegistry cacheLoaderRegistry)
getCacheLoaderRegistry
public CacheLoaderRegistry getCacheLoaderRegistry()
Apache Camel