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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosscache-dev
--
Manik Surtani
Lead, JBoss Cache
JBoss, a division of Red Hat
Email: manik(a)jboss.org
Telephone: +44 7786 702 706
MSN: manik(a)surtani.org
Yahoo/AIM/Skype: maniksurtani