public class CacheConfiguration extends Object
Constructor and Description |
---|
CacheConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
getClearOnFlush() |
int |
getDiskExpiryThreadIntervalSeconds() |
boolean |
getDiskPersistent() |
long |
getDiskSpoolBufferSize() |
boolean |
getEternal() |
int |
getMaxElementsInMemory() |
int |
getMaxElementsOnDisk() |
String |
getName() |
int |
getTimeToIdleSeconds() |
int |
getTimeToLiveSeconds() |
boolean |
isOverflowToDisk() |
void |
setClearOnFlush(boolean clearOnFlush) |
void |
setDiskExpiryThreadIntervalSeconds(int diskExpiryThreadIntervalSeconds) |
void |
setDiskPersistent(boolean diskPersistent) |
void |
setDiskSpoolBufferSize(long diskSpoolBufferSize) |
void |
setEternal(boolean eternal) |
void |
setMaxElementsInMemory(int maxElementsInMemory) |
void |
setMaxElementsOnDisk(int maxElementsOnDisk) |
void |
setName(String name) |
void |
setOverflowToDisk(boolean overflowToDisk) |
void |
setTimeToIdleSeconds(int timeToIdleSeconds) |
void |
setTimeToLiveSeconds(int timeToLiveSeconds) |
public CacheConfiguration()
public boolean getClearOnFlush()
public void setClearOnFlush(boolean clearOnFlush)
clearOnFlush
- the clearOnFlush to setpublic int getDiskExpiryThreadIntervalSeconds()
public void setDiskExpiryThreadIntervalSeconds(int diskExpiryThreadIntervalSeconds)
diskExpiryThreadIntervalSeconds
- the diskExpiryThreadIntervalSeconds to setpublic boolean getDiskPersistent()
public void setDiskPersistent(boolean diskPersistent)
diskPersistent
- the diskPersistent to setpublic long getDiskSpoolBufferSize()
public void setDiskSpoolBufferSize(long diskSpoolBufferSize)
diskSpoolBufferSize
- the diskSpoolBufferSize to setpublic boolean getEternal()
public void setEternal(boolean eternal)
eternal
- the eternal to setpublic int getMaxElementsInMemory()
public void setMaxElementsInMemory(int maxElementsInMemory)
maxElementsInMemory
- the maxElementsInMemory to setpublic int getMaxElementsOnDisk()
public void setMaxElementsOnDisk(int maxElementsOnDisk)
maxElementsOnDisk
- the maxElementsOnDisk to setpublic boolean isOverflowToDisk()
public void setOverflowToDisk(boolean overflowToDisk)
overflowToDisk
- the overflowToDisk to setpublic int getTimeToIdleSeconds()
public void setTimeToIdleSeconds(int timeToIdleSeconds)
timeToIdleSeconds
- the timeToIdleSeconds to setpublic int getTimeToLiveSeconds()
public void setTimeToLiveSeconds(int timeToLiveSeconds)
timeToLiveSeconds
- the timeToLiveSeconds to setCopyright © 2015 Lucee