Package org.apache.commons.jcs3.admin
Class CacheElementInfo
java.lang.Object
org.apache.commons.jcs3.admin.CacheElementInfo
Stores info on a cache element for the template
- 
Constructor SummaryConstructorsConstructorDescriptionCacheElementInfo(String key, boolean eternal, String createTime, long maxLifeSeconds, long expiresInSeconds) Parameterized constructor
- 
Method Summary
- 
Constructor Details- 
CacheElementInfo@ConstructorProperties({"key","eternal","createTime","maxLifeSeconds","expiresInSeconds"}) public CacheElementInfo(String key, boolean eternal, String createTime, long maxLifeSeconds, long expiresInSeconds) Parameterized constructor- Parameters:
- key- element key
- eternal- is it eternal
- createTime- when it was created
- maxLifeSeconds- max life
- expiresInSeconds- when it will expire
 
 
- 
- 
Method Details- 
getKey- Returns:
- a string representation of the key
 
- 
isEternal- Returns:
- true if the item does not expire
 
- 
getCreateTime- Returns:
- the time the object was created
 
- 
getMaxLifeSecondsIgnored if isEternal- Returns:
- the longest this object can live.
 
- 
getExpiresInSecondsIgnored if isEternal- Returns:
- how many seconds until this object expires.
 
- 
toString
 
-