org.apache.camel.component.cache
Class CacheConfiguration

java.lang.Object
  extended by org.apache.camel.component.cache.CacheConfiguration
All Implemented Interfaces:
Cloneable

public class CacheConfiguration
extends Object
implements Cloneable


Constructor Summary
CacheConfiguration()
           
CacheConfiguration(URI uri)
           
 
Method Summary
 CacheConfiguration copy()
           
 String getCacheName()
           
 long getDiskExpiryThreadIntervalSeconds()
           
 String getDiskStorePath()
           
 int getMaxElementsInMemory()
           
 net.sf.ehcache.store.MemoryStoreEvictionPolicy getMemoryStoreEvictionPolicy()
           
 long getTimeToIdleSeconds()
           
 long getTimeToLiveSeconds()
           
 boolean isDiskPersistent()
           
 boolean isEternal()
           
 boolean isOverflowToDisk()
           
 void parseURI(URI uri)
           
 void setCacheName(String cacheName)
           
 void setDiskExpiryThreadIntervalSeconds(long diskExpiryThreadIntervalSeconds)
           
 void setDiskPersistent(boolean diskPersistent)
           
 void setDiskStorePath(String diskStorePath)
           
 void setEternal(boolean eternal)
           
 void setMaxElementsInMemory(int maxElementsInMemory)
           
 void setMemoryStoreEvictionPolicy(net.sf.ehcache.store.MemoryStoreEvictionPolicy memoryStoreEvictionPolicy)
           
 void setOverflowToDisk(boolean overflowToDisk)
           
 void setTimeToIdleSeconds(long timeToIdleSeconds)
           
 void setTimeToLiveSeconds(long timeToLiveSeconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheConfiguration

public CacheConfiguration()

CacheConfiguration

public CacheConfiguration(URI uri)
                   throws Exception
Throws:
Exception
Method Detail

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)


Apache CAMEL