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

Allow eviction based on approximation of size compared to element count

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: