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

Cache.size optimizations

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
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: