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

Allow eviction based on approximation of size compared to element count

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: