Hi Dave
Just saw that you signed the contributor agreement.
So yeah, what you may want to look into is the EvictionManager [1] which will periodically have its processEviction() [2] method called. This doesn't actually do any evictions here (named so for legacy reasons) since the current data container is self-sizing/evicting. However it is still periodically invoked to purge expired entries.
You can piggyback on the same invocation to test upper and lower bounds of memory utilisation (if enabled), but the bit that I still think you need to figure out is deciding which entries to evict, and how many of them to evict.
Cheers
Manik
On 10 Jan 2011, at 11:08, Manik Surtani wrote:
Excellent, Dave.
You should probably come up with a design first - or maybe a prototype on your fork of the project on GitHub - and post it here for comment.
Cheers
Manik
On 8 Jan 2011, at 00:34, david marion wrote:
--
Manik Surtani
Lead, Infinispan
_______________________________________________
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Manik Surtani
Lead, Infinispan