[jbosscache-dev] Difference between "node loaded" and "node activated"

Manik Surtani manik at jboss.org
Mon Feb 26 08:28:27 EST 2007


They are both called when a node is activated, this is correct.

If you use a cache loader but not passivation, you'd just see  
nodeLoaded.

It's a good point actually - do we need both notifications?  Brian,  
any thoughts from an SFSB/HTTP Session standpoint?


On 25 Feb 2007, at 03:43, Mircea Markus wrote:

> Hi,
>
> There are two methods in the cache listener interface:
> public void nodeLoaded(Fqn fqn, boolean pre, Map data)
> and
> public void nodeActivated(Fqn fqn, boolean pre)
>
> In which scenarios is one called and in which not? They seem to  
> overlap (both are called) in certain scenarios...
>
> Cheers,
> Mircea
> _______________________________________________
> jbosscache-dev mailing list
> jbosscache-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosscache-dev

--
Manik Surtani

Lead, JBoss Cache
JBoss, a division of Red Hat

Email: manik at jboss.org
Telephone: +44 7786 702 706
MSN: manik at surtani.org
Yahoo/AIM/Skype: maniksurtani





More information about the jbosscache-dev mailing list