org.apache.archiva.configuration.CacheConfiguration Maven / Gradle / Ivy
The newest version!
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 1.7,
// any modifications will be overwritten.
// ==============================================================
package org.apache.archiva.configuration;
/**
* Cache configuration.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class CacheConfiguration
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* TimeToIdleSeconds.
*/
private int timeToIdleSeconds = -1;
/**
* TimeToLiveSeconds.
*/
private int timeToLiveSeconds = -1;
/**
* max elements in memory.
*/
private int maxElementsInMemory = -1;
/**
* max elements on disk.
*/
private int maxElementsOnDisk = -1;
//-----------/
//- Methods -/
//-----------/
/**
* Get max elements in memory.
*
* @return int
*/
public int getMaxElementsInMemory()
{
return this.maxElementsInMemory;
} //-- int getMaxElementsInMemory()
/**
* Get max elements on disk.
*
* @return int
*/
public int getMaxElementsOnDisk()
{
return this.maxElementsOnDisk;
} //-- int getMaxElementsOnDisk()
/**
* Get timeToIdleSeconds.
*
* @return int
*/
public int getTimeToIdleSeconds()
{
return this.timeToIdleSeconds;
} //-- int getTimeToIdleSeconds()
/**
* Get timeToLiveSeconds.
*
* @return int
*/
public int getTimeToLiveSeconds()
{
return this.timeToLiveSeconds;
} //-- int getTimeToLiveSeconds()
/**
* Set max elements in memory.
*
* @param maxElementsInMemory
*/
public void setMaxElementsInMemory( int maxElementsInMemory )
{
this.maxElementsInMemory = maxElementsInMemory;
} //-- void setMaxElementsInMemory( int )
/**
* Set max elements on disk.
*
* @param maxElementsOnDisk
*/
public void setMaxElementsOnDisk( int maxElementsOnDisk )
{
this.maxElementsOnDisk = maxElementsOnDisk;
} //-- void setMaxElementsOnDisk( int )
/**
* Set timeToIdleSeconds.
*
* @param timeToIdleSeconds
*/
public void setTimeToIdleSeconds( int timeToIdleSeconds )
{
this.timeToIdleSeconds = timeToIdleSeconds;
} //-- void setTimeToIdleSeconds( int )
/**
* Set timeToLiveSeconds.
*
* @param timeToLiveSeconds
*/
public void setTimeToLiveSeconds( int timeToLiveSeconds )
{
this.timeToLiveSeconds = timeToLiveSeconds;
} //-- void setTimeToLiveSeconds( int )
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy