[infinispan-issues] [JBoss JIRA] (ISPN-7211) Cache.size should be wired to AdvancedCacheLoader.size
Vladimir Dzhuvinov (JIRA)
issues at jboss.org
Thu Nov 17 05:30:00 EST 2016
Vladimir Dzhuvinov created ISPN-7211:
----------------------------------------
Summary: Cache.size should be wired to AdvancedCacheLoader.size
Key: ISPN-7211
URL: https://issues.jboss.org/browse/ISPN-7211
Project: Infinispan
Issue Type: Bug
Components: Core, Loaders and Stores
Affects Versions: 8.2.5.Final
Reporter: Vladimir Dzhuvinov
Logs show that calling *Cache.size* with a configured *AdvancedCacheStore* results in the *process* method being called, instead of the dedicated and more efficient *size* method.
For caches with many entries iterating over each entry to get their count can be a huge performance hit.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list