| java.lang.Object org.apache.roller.util.cache.ExpiringCacheEntry
ExpiringCacheEntry | public class ExpiringCacheEntry implements Serializable(Code) | | A cache entry that expires.
We use this class to wrap objects being cached and associate a timestamp
and timeout period with them so we can know when they expire.
|
ExpiringCacheEntry | public ExpiringCacheEntry(Object value, long timeout)(Code) | | |
getTimeCached | public long getTimeCached()(Code) | | |
getTimeout | public long getTimeout()(Code) | | |
getValue | public Object getValue()(Code) | | Retrieve the value of this cache entry.
If the value has expired then we return null.
|
hasExpired | public boolean hasExpired()(Code) | | Determine if this cache entry has expired.
|
|
|