jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: Item lifespan based on last access?
Date Wed, 10 Dec 2008 18:52:22 GMT
cj22 wrote:
> I was wondering if there was a way to keep an item in the cache alive based
> on its access time.  Currently the MaxLifeSeconds is based upon the creation
> of the key, regardless of how many accesses it has.  I would like to keep an
> object in the cache until it stops being used.
> 
> Is there anyway to configure JCS to do this?  

The element attribute setting is called IdleTime.

Bye, Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Mime
View raw message