[infinispan-dev] Cache Entry is Loaded two times from CacheLoader

Galder Zamarreno galder at jboss.org
Mon Jan 18 12:48:16 EST 2010


Hi Amin,

Do you mean when the key is actually expired? Or when the key is loaded again after expiration?

Cheers,
Galder

----- Original Message -----
From: "Amin Abbaspour" <a.abbaspour at gmail.com>
To: infinispan-dev at lists.jboss.org
Sent: Saturday, January 16, 2010 2:51:32 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: [infinispan-dev] Cache Entry is Loaded two times from CacheLoader

Hi All,

I put some log in my CacheLoader and noticed that when some key
expires, the load(key) method (in the case of LockSupportCacheStore
loadLockSafe method) in CacheLoader is called two times
consequentially for the same key.

Of course this creates no logical issues but is not much welcomed from
performance point of view.

Regards,
Amin
_______________________________________________
infinispan-dev mailing list
infinispan-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev



More information about the infinispan-dev mailing list