pcaswell
neo
Joined: 08/19/2014 01:30:22
Messages: 1
Offline
|
I need to be able to completely rebuild my cache from Db every hour. Currently I am establishing a write lock, calling removeAll and filling the cache from a Db query. This usually works fine.
Occasionally this process leaves the cache almost empty. I am certain that the query succeeds and enumerates all items correctly. Is it possible that I am re-adding the same element and somehow retaining it's old expiry time?
Browsing the source suggests this is not the case - the elementEvictionData is rebuilt when an Element is recreated - would appreciate any other ideas that may exhibit this way.
Ehcache version 2.5.4 ATM
|