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

Allow eviction based on approximation of size compared to element count

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
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: