How to differentiate between time to live and time to idle in ehcache

Posted by Jacques René Mesrine on Stack Overflow See other posts from Stack Overflow or by Jacques René Mesrine
Published on 2010-04-06T08:08:38Z Indexed on 2010/04/06 8:13 UTC
Read the original article Hit count: 302

Filed under:
|
|

The docs on ehache says:

timeToIdleSeconds: Sets the time to idle for an element before it expires.
i.e. The maximum amount of time between accesses before an element expires

timeToLiveSeconds: Sets the time to live for an element before it expires.
i.e. The maximum time between creation time and when an element expires.

I understand timeToIdleSeconds

But does it means that after the creation & first access of a cache item, the timeToLiveSeconds is not applicable anymore ?

© Stack Overflow or respective owner

Related posts about ehcache

Related posts about java