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

[1] https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/eviction/EvictionManagerImpl.java
[2] https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/eviction/EvictionManagerImpl.java#L84

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,
 
I am on the list. I will start getting my dev environment setup according to instructions on site.
 
Dave Marion
  _______________________________________________
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev



_______________________________________________
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik@jboss.org
twitter.com/maniksurtani

Lead, Infinispan
http://www.infinispan.org