+1 makes sense to me.

----- Original Message -----
From: "Tristan Tarrant" <ttarr...@redhat.com>
To: "infinispan -Dev List" <infinispan-dev@lists.jboss.org>
Sent: Friday, 29 July, 2016 9:59:48 AM
Subject: [infinispan-dev] Passivation and manual eviction

Hi all,

Radoslav just brought to my attention that our eviction configuration 
validator prints out a warning when passivation is enabled without 
configuring eviction. This was done to make sure users are aware of the 
fact that a cache with this configuration will never actually passivate.
In WildFly's case however, eviction is performed manually (by invoking 
cache.evict()). In this case the warning is just misleading.

My proposal is therefore to introduce a new eviction strategy "MANUAL" 
wihch internally would be handled in the same way as "NONE" but which 
would prevent the warning.

Wdyt ?

Tristan
-- 
Tristan Tarrant
Infinispan Lead
JBoss, a division of Red Hat
_______________________________________________
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

Reply via email to