org.apache.jcs.admin
Class CacheElementInfo
java.lang.Object
org.apache.jcs.admin.CacheElementInfo
public class CacheElementInfo
- extends Object
Stores info on a cache element for the template
CacheElementInfo
public CacheElementInfo()
getKey
public String getKey()
- Returns:
- a string representation of the key
isEternal
public boolean isEternal()
- Returns:
- true if the item does not expire
getCreateTime
public String getCreateTime()
- Returns:
- the time the object was created
getMaxLifeSeconds
public long getMaxLifeSeconds()
- Ignored if isEternal
- Returns:
- the longest this object can live.
getExpiresInSeconds
public long getExpiresInSeconds()
- Ignored if isEternal
- Returns:
- how many seconds until this object expires.
toString
public String toString()
- Overrides:
toString
in class Object
- Returns:
- string info on the item
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.