<html>
<head>
<style type="text/css">
<!--
body { font-variant: normal; line-height: normal; margin-bottom: 1px; margin-left: 4px; margin-top: 4px; margin-right: 4px }
p { margin-bottom: 0; margin-top: 0 }
-->
</style>
</head>
<body style="margin-bottom: 1px; margin-left: 4px; margin-top: 4px; margin-right: 4px">
<p style="margin-bottom: 0; margin-top: 0">
<font face="Dialog" size="2">Hi all,</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Dialog" size="2">When Bela and I were discussing this issue I documented all the ideas and questions on the jira issue. Please see </font><font color="#0000ff" size="2" face="Dialog"><a href="http://jira.jboss.com/jira/browse/JBCACHE-270"><i><u>http://jira.jboss.com/jira/browse/JBCACHE-270</u></i></a></font><font face="Dialog" size="2"></font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Dialog" size="2">Bela is right we need to get a notification interceptor in place "Even if we end up having only 95% of all notifications emitted from the interceptor, and the rest directly, that would be fine too." </font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Dialog" size="2">At the time thinking of this feature, I was debating another idea which is having a dual notification interceptor. One to emits pre-call notification at the bottom of the stack and one emits post-call at the top of the stack. I can't recall why we didn't go with it. Anyway, I'm bringing it up right now just to kick start the thinking process again.</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Dialog" size="2">Cheers,</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Dialog" size="2">Hany</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<br>
<font face="Dialog">>>> On Sun, Sep 17, 2006 at  7:28 AM, in message <16715A85-5394-48E3-A646-785A99CD3E6F@jboss.org>, Manik Surtani <manik@jboss.org> wrote:</font><br> </p>
<div style="margin-bottom: 0; background-color: #f3f3f3; padding-left: 7px; margin-left: 15px; margin-top: 0; margin-right: 0; border-left: solid 1px #050505">
<p style="margin-bottom: 0; margin-top: 0">
Hany,<br><br>Could you pls join the JBoss Cache dev list here:<br><br><a href="https://lists.jboss.org/mailman/roster/jbosscache">https://lists.jboss.org/mailman/roster/jbosscache</a>-dev<br><br>and join this discussion?<br><br>Thanks,<br>--<br>Manik Surtani<br><br>Lead, JBoss Cache<br>JBoss, a division of Red Hat<br><br>Email: manik@jboss.org<br>Telephone: +44 7786 702 706<br>MSN: manik@surtani.org<br>Yahoo/AIM/Skype: maniksurtani<br><br><br>On 16 Sep 2006, at 20:50, Bela Ban wrote:<br><br>> Let's find the bits and pieces of emails between us and Hany, we <br>> discussed this feature in great detail. IIRC, one of the issues was <br>> that there was no real good place for the NotificationInterceptor, <br>> in some cases towards the top would have been okay, in some not. <br>> Example: CacheLoader/Store interceptor: those methods don't get <br>> passed up, so a NotifInt towards the top would not be able to catch <br>> them.<br>><br>> But, yes, we need to start thinking about having all notifications <br>> emitted from one place, so let's kick-start that thought process <br>> again. Even if we end up having only 95% of all notifications <br>> emitted from the interceptor, and the rest directly, that would be <br>> fine too.<br>><br>> Manik, maybe it is a good idea to involve Hany again, because he <br>> was involved real deep before... I'm sure he remembers some of the <br>> discussions...<br>><br>> Manik Surtani wrote:<br>>> Hi,<br>>><br>>> There was talk of a separate notification interceptor some while <br>>> back.  What happened around this?<br>>><br>>> Looking at wiring in the relevant notifications for move() and <br>>> realise what a PITA it is with notification calls scattered all <br>>> over the c
ode base.<br>>><br>>> I think an interceptor at (or close to) the head of the chain to <br>>> fire notifications would be quite straightforward and easy - pre <br>>> and post notifications would be easily handled.  The only <br>>> notification that would originate outside of this interceptor <br>>> would be load/evict/activate/passivate notifications ...<br>>><br>>> What do people think?<br>>><br>>> Cheers,<br>>> --<br>>> Manik Surtani<br>>><br>>> Lead, JBoss Cache<br>>> JBoss, a division of Red Hat<br>>><br>>> Email: manik@jboss.org<br>>> Telephone: +44 7786 702 706<br>>> MSN: manik@surtani.org<br>>> Yahoo/AIM/Skype: maniksurtani<br>>><br>>><br>>> _______________________________________________<br>>> jbosscache-dev mailing list<br>>> jbosscache-dev@lists.jboss.org<br>>> <a href="https://lists.jboss.org/mailman/listinfo/jbosscache">https://lists.jboss.org/mailman/listinfo/jbosscache</a>-dev<br>>><br>><br>> --<br>> Bela Ban<br>> Lead JGroups / Manager JBoss Clustering Group<br>> JBoss - a division of Red Hat<br>><br><br>
</p>
</div>
</body>
</html>