org.apache.archiva.admin.model.beans
Class CacheConfiguration

java.lang.Object
  extended by org.apache.archiva.admin.model.beans.CacheConfiguration
All Implemented Interfaces:
Serializable

public class CacheConfiguration
extends Object
implements Serializable

Since:
1.4-M4
Author:
Olivier Lamy
See Also:
Serialized Form

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()
           
 int getMaxElementsOnDisk()
           
 int getTimeToIdleSeconds()
           
 int getTimeToLiveSeconds()
           
 void setMaxElementsInMemory(int maxElementsInMemory)
           
 void setMaxElementsOnDisk(int maxElementsOnDisk)
           
 void setTimeToIdleSeconds(int timeToIdleSeconds)
           
 void setTimeToLiveSeconds(int timeToLiveSeconds)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

timeToIdleSeconds

private int timeToIdleSeconds
TimeToIdleSeconds.


timeToLiveSeconds

private int timeToLiveSeconds
TimeToLiveSeconds.


maxElementsInMemory

private int maxElementsInMemory
max elements in memory.


maxElementsOnDisk

private int maxElementsOnDisk
max elements on disk.

Constructor Detail

CacheConfiguration

public CacheConfiguration()
Method Detail

getTimeToIdleSeconds

public int getTimeToIdleSeconds()

setTimeToIdleSeconds

public void setTimeToIdleSeconds(int timeToIdleSeconds)

getTimeToLiveSeconds

public int getTimeToLiveSeconds()

setTimeToLiveSeconds

public void setTimeToLiveSeconds(int timeToLiveSeconds)

getMaxElementsInMemory

public int getMaxElementsInMemory()

setMaxElementsInMemory

public void setMaxElementsInMemory(int maxElementsInMemory)

getMaxElementsOnDisk

public int getMaxElementsOnDisk()

setMaxElementsOnDisk

public void setMaxElementsOnDisk(int maxElementsOnDisk)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.