2 Replies Latest reply on Dec 4, 2007 7:17 PM by superflav

    passivation: true vs. false

    superflav

      From reading the JBoss Cache User Guide, I get that when an eviction policy passivates a node from the cache, that the node will be removed from the in memory cache and persisted back to the cache loader that has passivation set to true. And I understand that when the aforementioned passivated node is activated, it is loaded from the cache loader back into memory and then removed from the cache loader.

      What I don't fully grasp is what happens when you have an eviction policy and cache loader(s) with passivation set to false? Does the eviction policy still passivate the node back to the cache loader(s), or does it just have to remove it from the local memory since it should have been written to the cache loader(s) anyways? And, does re-activation of the node result in the node being removed from the cache loader(s), or are they just left as is since the cache loader(s) is not configured in passivation mode?

      Thanks.