org.jboss.dashboard.database.cache
Class CacheElement
java.lang.Object
org.jboss.dashboard.factory.BasicFactoryElement
org.jboss.dashboard.database.cache.CacheElement
- All Implemented Interfaces:
- Serializable, FactoryLifecycle
public class CacheElement
- extends BasicFactoryElement
This class represents a cache element with ehcache style, but intended to be used by all types of caches
- See Also:
- Serialized Form
| Methods inherited from class org.jboss.dashboard.factory.BasicFactoryElement |
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheElement
public CacheElement()
getName
public String getName()
setName
public void setName(String name)
getMaxElementsInMemory
public int getMaxElementsInMemory()
setMaxElementsInMemory
public void setMaxElementsInMemory(int maxElementsInMemory)
isEternal
public boolean isEternal()
setEternal
public void setEternal(boolean eternal)
isOverflowToDisk
public boolean isOverflowToDisk()
setOverflowToDisk
public void setOverflowToDisk(boolean overflowToDisk)
getTimeToIdleSeconds
public long getTimeToIdleSeconds()
setTimeToIdleSeconds
public void setTimeToIdleSeconds(long timeToIdleSeconds)
getTimeToLiveSeconds
public long getTimeToLiveSeconds()
setTimeToLiveSeconds
public void setTimeToLiveSeconds(long timeToLiveSeconds)
isDiskPersistent
public boolean isDiskPersistent()
setDiskPersistent
public void setDiskPersistent(boolean diskPersistent)
getDiskExpiryThreadIntervalSeconds
public long getDiskExpiryThreadIntervalSeconds()
setDiskExpiryThreadIntervalSeconds
public void setDiskExpiryThreadIntervalSeconds(long diskExpiryThreadIntervalSeconds)
getMemoryStoreEvictionPolicy
public String getMemoryStoreEvictionPolicy()
setMemoryStoreEvictionPolicy
public void setMemoryStoreEvictionPolicy(String memoryStoreEvictionPolicy)
setDiskCachePath
public void setDiskCachePath(String diskCachePath)
getDiskCachePath
public String getDiskCachePath()
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.