|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.archiva.configuration.CacheConfiguration
public class CacheConfiguration
Cache configuration.
Field Summary | |
---|---|
private int |
maxElementsInMemory
max elements in memory. |
private int |
maxElementsOnDisk
max elements on disk. |
private int |
timeToIdleSeconds
TimeToIdleSeconds. |
private int |
timeToLiveSeconds
TimeToLiveSeconds. |
Constructor Summary | |
---|---|
CacheConfiguration()
|
Method Summary | |
---|---|
int |
getMaxElementsInMemory()
Get max elements in memory. |
int |
getMaxElementsOnDisk()
Get max elements on disk. |
int |
getTimeToIdleSeconds()
Get timeToIdleSeconds. |
int |
getTimeToLiveSeconds()
Get timeToLiveSeconds. |
void |
setMaxElementsInMemory(int maxElementsInMemory)
Set max elements in memory. |
void |
setMaxElementsOnDisk(int maxElementsOnDisk)
Set max elements on disk. |
void |
setTimeToIdleSeconds(int timeToIdleSeconds)
Set timeToIdleSeconds. |
void |
setTimeToLiveSeconds(int timeToLiveSeconds)
Set timeToLiveSeconds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int timeToIdleSeconds
private int timeToLiveSeconds
private int maxElementsInMemory
private int maxElementsOnDisk
Constructor Detail |
---|
public CacheConfiguration()
Method Detail |
---|
public int getMaxElementsInMemory()
public int getMaxElementsOnDisk()
public int getTimeToIdleSeconds()
public int getTimeToLiveSeconds()
public void setMaxElementsInMemory(int maxElementsInMemory)
maxElementsInMemory
- public void setMaxElementsOnDisk(int maxElementsOnDisk)
maxElementsOnDisk
- public void setTimeToIdleSeconds(int timeToIdleSeconds)
timeToIdleSeconds
- public void setTimeToLiveSeconds(int timeToLiveSeconds)
timeToLiveSeconds
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |