[infinispan-issues] [JBoss JIRA] (ISPN-9754) Cache size method should consulte Shared cache stores

William Burns (Jira) issues at jboss.org
Tue Nov 20 12:57:00 EST 2018


William Burns created ISPN-9754:
-----------------------------------

             Summary: Cache size method should consulte Shared cache stores
                 Key: ISPN-9754
                 URL: https://issues.jboss.org/browse/ISPN-9754
             Project: Infinispan
          Issue Type: Sub-task
    Affects Versions: 9.4.2.Final
            Reporter: William Burns
            Assignee: William Burns
             Fix For: 10.0.0.Alpha2


When we have a shared store we can just consult the store to find the size. Note that passivation is not allowed with shared stores, so we don't have to worry about that option.

This should allow for the size method to be much more performant as currently we always have to iterate over all the contents. Some stores may do this internally for size, but at least we have the option.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list