Scott Battaglia
Nov 22nd, 2004, 09:01 PM
Ben,
In the EhCacheBasedTicketCache there is only a property for minutesToIdle with a JavaDoc description that this is how long the item will remain in cache since its last access.
However, this value is used for both timeToIdle and timeToLive in the EhCache. Therefore this effectively means that the property is timeToLive and not timeToIdle (or does EhCache do something special if they are the same?).
Would it be possible to either be able to specify both values or rename the timeToIdle to timeToLive?
We initially had some caching issues with this because we did not realize that it was really timeToLive and not timeToIdle so our clients were sending tickets they thought were still valid but really weren't.
Thanks
In the EhCacheBasedTicketCache there is only a property for minutesToIdle with a JavaDoc description that this is how long the item will remain in cache since its last access.
However, this value is used for both timeToIdle and timeToLive in the EhCache. Therefore this effectively means that the property is timeToLive and not timeToIdle (or does EhCache do something special if they are the same?).
Would it be possible to either be able to specify both values or rename the timeToIdle to timeToLive?
We initially had some caching issues with this because we did not realize that it was really timeToLive and not timeToIdle so our clients were sending tickets they thought were still valid but really weren't.
Thanks