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

Cache.size optimizations

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 14.0.0.Dev04
    • None
    • None

    Description

      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)

      Attachments

        Activity

          People

            rh-ee-jbolina Jose Bolina
            wburns@redhat.com Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: