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

    Details

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                william.burns Will Burns
                Reporter:
                william.burns Will Burns
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: