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

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: