[jboss-user] [JBossCache] - passivation: true vs. false

superflav do-not-reply at jboss.com
Tue Dec 4 14:50:51 EST 2007


>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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110319#4110319

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110319



More information about the jboss-user mailing list