railo.runtime.cache.eh.remote.rest.sax
Class CacheConfiguration

java.lang.Object
  extended by railo.runtime.cache.eh.remote.rest.sax.CacheConfiguration

public class CacheConfiguration
extends Object


Constructor Summary
CacheConfiguration()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheConfiguration

public CacheConfiguration()
Method Detail

getClearOnFlush

public boolean getClearOnFlush()
Returns:
the clearOnFlush

setClearOnFlush

public void setClearOnFlush(boolean clearOnFlush)
Parameters:
clearOnFlush - the clearOnFlush to set

getDiskExpiryThreadIntervalSeconds

public int getDiskExpiryThreadIntervalSeconds()
Returns:
the diskExpiryThreadIntervalSeconds

setDiskExpiryThreadIntervalSeconds

public void setDiskExpiryThreadIntervalSeconds(int diskExpiryThreadIntervalSeconds)
Parameters:
diskExpiryThreadIntervalSeconds - the diskExpiryThreadIntervalSeconds to set

getDiskPersistent

public boolean getDiskPersistent()
Returns:
the diskPersistent

setDiskPersistent

public void setDiskPersistent(boolean diskPersistent)
Parameters:
diskPersistent - the diskPersistent to set

getDiskSpoolBufferSize

public long getDiskSpoolBufferSize()
Returns:
the diskSpoolBufferSize

setDiskSpoolBufferSize

public void setDiskSpoolBufferSize(long diskSpoolBufferSize)
Parameters:
diskSpoolBufferSize - the diskSpoolBufferSize to set

getEternal

public boolean getEternal()
Returns:
the eternal

setEternal

public void setEternal(boolean eternal)
Parameters:
eternal - the eternal to set

getMaxElementsInMemory

public int getMaxElementsInMemory()
Returns:
the maxElementsInMemory

setMaxElementsInMemory

public void setMaxElementsInMemory(int maxElementsInMemory)
Parameters:
maxElementsInMemory - the maxElementsInMemory to set

getMaxElementsOnDisk

public int getMaxElementsOnDisk()
Returns:
the maxElementsOnDisk

setMaxElementsOnDisk

public void setMaxElementsOnDisk(int maxElementsOnDisk)
Parameters:
maxElementsOnDisk - the maxElementsOnDisk to set

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

isOverflowToDisk

public boolean isOverflowToDisk()
Returns:
the overflowToDisk

setOverflowToDisk

public void setOverflowToDisk(boolean overflowToDisk)
Parameters:
overflowToDisk - the overflowToDisk to set

getTimeToIdleSeconds

public int getTimeToIdleSeconds()
Returns:
the timeToIdleSeconds

setTimeToIdleSeconds

public void setTimeToIdleSeconds(int timeToIdleSeconds)
Parameters:
timeToIdleSeconds - the timeToIdleSeconds to set

getTimeToLiveSeconds

public int getTimeToLiveSeconds()
Returns:
the timeToLiveSeconds

setTimeToLiveSeconds

public void setTimeToLiveSeconds(int timeToLiveSeconds)
Parameters:
timeToLiveSeconds - the timeToLiveSeconds to set


Copyright © 2012 Railo