William Burns created ISPN-5345:
-----------------------------------
Summary: Allow eviction for 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
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.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)