]
Tristan Tarrant updated ISPN-5345:
----------------------------------
Status: Pull Request Sent (was: Pull Request Sent)
Git Pull Request:
Allow eviction based on approximation of size compared to element
count
-----------------------------------------------------------------------
Key: ISPN-5345
URL:
https://issues.jboss.org/browse/ISPN-5345
Project: Infinispan
Issue Type: Enhancement
Components: Eviction
Reporter: William Burns
Assignee: William Burns
Fix For: 8.0.0.Final
It would be nice to have a bounded container that allows for eviction based on how much
memory approximately the various arrays would take up.
If possible we may even to enhance the data container to have a callback to provide a
user specified way of calculating size for non byte[] values.
This implementation would not know anything about duplicate references in the container
and would count it double.