Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9366 Cache.size optimizations
  3. ISPN-9754

Cache size method should consult Shared cache stores when not async

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 9.4.3.Final, 10.0.0.Final
    • 9.4.2.Final
    • None
    • None

      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.

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: