I've created a Jira and corresponding PR for this
https://github.com/infinispan/infinispan/pull/4472
Tristan
On 29/07/16 11:15, Ryan Emerson wrote:
+1 makes sense to me.
----- Original Message -----
From: "Tristan Tarrant" <ttarrant(a)redhat.com>
To: "infinispan -Dev List" <infinispan-dev(a)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