I have been using org.apache.commons.collections.LRUMap for a wile now and
it works fine.
In the current implementation, the size of the LRUMap (which determines if
it has reached its maximum limit) is just the number of elements in the map.
I want to assign each object in the LRUMap an integer (a weight) and compute
the size of the heap as the summation of all the weights.

What is the best strategy to accomplish this?

Thanks in advance



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to