org.apache.jcs.admin
Class CacheElementInfo
java.lang.Object
org.apache.jcs.admin.CacheElementInfo
- public class CacheElementInfo
- extends java.lang.Object
Stores info on a cache element for the template
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheElementInfo
public CacheElementInfo()
getKey
public java.lang.String getKey()
- Returns:
- a string representation of the key
isEternal
public boolean isEternal()
- Returns:
- true if the item does not expire
getCreateTime
public java.lang.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.
Copyright © 2002-2005 Apache Software Foundation. All Rights Reserved.