[infinispan-dev] Infinispan 4.1 | Eviction policies for Memcached protocol

Manik Surtani manik at jboss.org
Mon Sep 27 09:25:24 EDT 2010


On 23 Sep 2010, at 15:53, Vladimir Blagojevic wrote:

> 
> On 2010-09-23, at 10:49 AM, Galder Zamarreño wrote:
> 
>> 
>> On Sep 23, 2010, at 4:41 PM, Vladimir Blagojevic wrote:
>> 
>>> Owen,
>>> 
>>> By default all entries are immortal, that is, their expiration and lifespan are -1. Being immortal they are subject to eviction policies. As soon as they are not immortal, as you noticed, they are not subject to eviction policies and container size indeed can grow above limit specified in maxEntries. I will make sure that this is very clear in documentation. I admit it is not now :(
>> 
>> Hmmmm, should they really be exclusive? Just because you want your entries to expire if not used in 1h, you shouldn't give up on controlling the size of the cache, shouldn't you?
> 
> Yeah, maybe you are right. It is more intuitive that way. I admit, we really convoluted this one :)
> 
> Manik, everyone else?

Yeah you should be able to use both.  That was the case in 4.0.x.

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org







More information about the infinispan-dev mailing list