]
Will Burns updated ISPN-9366:
-----------------------------
Fix Version/s: (was: 10.0.0.Final)
Cache.size optimizations
------------------------
Key: ISPN-9366
URL:
https://issues.jboss.org/browse/ISPN-9366
Project: Infinispan
Issue Type: Enhancement
Reporter: Will Burns
Assignee: Will Burns
Priority: Major
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
# Shared store can just invoke Store.size
# No store & no expired entries can invoke
DataContainer.sizeIncludingExpired(IntSet)
# Non shared store can invoke Store.size(IntSet)