Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9366

Cache.size optimizations

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 14.0.0.Final
    • None
    • None
    • None

      Now that we have a segmented data container and segmented store we can add optimizations for the Cache.size operation in various configurations.

      If a store is configured, passivation must be disabled for any of these optimizations related to stores to work

      1. Shared store can just invoke Store.size
      2. No store & no expired entries can invoke DataContainer.sizeIncludingExpired(IntSet)
      3. Non shared and segmented store can invoke Store.size(IntSet)

              rh-ee-jbolina Jose Bolina
              wburns@redhat.com Will Burns
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: