Help the world stop coronavirus! Stay home!

Prev Next

Hibernate / Hibernate Caching

Difference between time to live and time to idle in Ehcache.

timeToIdleSeconds enables cached object to be invalidated if it has not been requested for specified ('timeToIdleSeconds' ) seconds.

timeToLiveSeconds enables cached object to be invalidated after that many seconds regardless of how many times or when cache was requested last time.

Note that the eternal attribute, when set to 'true', overrides timeToLive and timeToIdle so that no expiration can take place.

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...

SQL

Comments & Discussions