[infinispan-dev] Passivation and manual eviction
Ryan Emerson
remerson at redhat.com
Fri Jul 29 05:15:12 EDT 2016
+1 makes sense to me.
----- Original Message -----
From: "Tristan Tarrant" <ttarrant at redhat.com>
To: "infinispan -Dev List" <infinispan-dev at 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 at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
More information about the infinispan-dev
mailing list