[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Setting timeToLive on Element  XML
Forum Index -> Ehcache
Author Message
halbert

journeyman

Joined: 12/22/2010 14:18:29
Messages: 29
Offline

I called the setTimeToLive(x) method on an Element instance obtained from a clustered cache.

I passed the value 5 (seconds) for parameter x however even after waiting for several minutes, the Element can still be fetched from the cache.

This is on a clustered cache using Terracotta 3.7.0

Does the Element class not support changing the timeToLive or timeToIdle from the value setup in the XML configuration file?

Am I doing something wrong?

halbert

journeyman

Joined: 12/22/2010 14:18:29
Messages: 29
Offline

Very quiet forum here.

I'm surprised nobody has answered my question yet. I found the answer to my original question but I'm a little disapointed in the lack of response here.
rajoshi

seraphim

Joined: 07/04/2011 04:36:10
Messages: 1491
Offline

There is sometime delay in response due to lot of issues, we regret for inconvenience but great to know you found the answer.

Rakesh Joshi
Senior Consultant
Terracotta.
 
Forum Index -> Ehcache
Go to:   
Powered by JForum 2.1.7 © JForum Team