Quoting Gerhard Froehlich <[EMAIL PROTECTED]>:

> Hi,
> the appended zip file contains a implementation
> of a StoreJanitor.
> 
> The StoreJanitor is a new component, where Store classes
> can register into it. When memory is too low, the StoreJanitor 
> frees the registered caches until memory is normal.
> (See thread to this issue last days).
> 
> The zip file contains a patch for the existing classes and
> the 2 new files
> StoreJanitor: a new interface for StoreJanitor implementations
>   with two methods (register and unregister)
> StoreJanitorImpl: a implementation of a StoreJanitor. 
> 
> Feel free to use it.

I think it's a good idea to move the memory management of the caches out of the 
stores. I clearly see that having multiple stores for different purposes make 
sense. But I'd like to have some docs, metrics and suggestion about how 
paraterizing the stores and the janitor according to memory amounts.

Cool work Gerhard.

Giacomo

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

Reply via email to