<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&#44;</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 &quot;Even if we end up having only 95&#37; of all notifications &nbsp;emitted from the interceptor&#44; and the rest directly&#44; that would be &nbsp;fine too.&quot; </font>    </p>
<br>      
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Dialog" size="2">At the time thinking of this feature&#44; 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&#39;t recall why we didn&#39;t go with it. Anyway&#44; I&#39;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&#44;</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">&gt;&gt;&gt; On Sun&#44; Sep 17&#44; 2006 at&#160;&nbsp;7:28 AM&#44; in message &lt;16715A85-5394-48E3-A646-785A99CD3E6F@jboss.org&gt;&#44; Manik Surtani &lt;manik@jboss.org&gt; 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&#44;<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&#63;<br><br>Thanks&#44;<br>--<br>Manik Surtani<br><br>Lead&#44; JBoss Cache<br>JBoss&#44; a division of Red Hat<br><br>Email: manik@jboss.org<br>Telephone: &#43;44 7786 702 706<br>MSN: manik@surtani.org<br>Yahoo/AIM/Skype: maniksurtani<br><br><br>On 16 Sep 2006&#44; at 20:50&#44; Bela Ban wrote:<br><br>&gt; Let&#39;s find the bits and pieces of emails between us and Hany&#44; we&#160;<br>&gt; discussed this feature in great detail. IIRC&#44; one of the issues was&#160;<br>&gt; that there was no real good place for the NotificationInterceptor&#44;&#160;<br>&gt; in some cases towards the top would have been okay&#44; in some not.&#160;<br>&gt; Example: CacheLoader/Store interceptor: those methods don&#39;t get&#160;<br>&gt; passed up&#44; so a NotifInt towards the top would not be able to catch&#160;<br>&gt; them.<br>&gt;<br>&gt; But&#44; yes&#44; we need to start thinking about having all notifications&#160;<br>&gt; emitted from one place&#44; so let&#39;s kick-start that thought process&#160;<br>&gt; again. Even if we end up having only 95&#37; of all notifications&#160;<br>&gt; emitted from the interceptor&#44; and the rest directly&#44; that would be&#160;<br>&gt; fine too.<br>&gt;<br>&gt; Manik&#44; maybe it is a good idea to involve Hany again&#44; because he&#160;<br>&gt; was involved real deep before... I&#39;m sure he remembers some of the&#160;<br>&gt; discussions...<br>&gt;<br>&gt; Manik Surtani wrote:<br>&gt;&gt; Hi&#44;<br>&gt;&gt;<br>&gt;&gt; There was talk of a separate notification interceptor some while&#160;<br>&gt;&gt; back.&#160;&nbsp;What happened around this&#63;<br>&gt;&gt;<br>&gt;&gt; Looking at wiring in the relevant notifications for move&#40;&#41; and&#160;<br>&gt;&gt; realise what a PITA it is with notification calls scattered all&#160;<br>&gt;&gt; over the c
ode base.<br>&gt;&gt;<br>&gt;&gt; I think an interceptor at &#40;or close to&#41; the head of the chain to&#160;<br>&gt;&gt; fire notifications would be quite straightforward and easy - pre&#160;<br>&gt;&gt; and post notifications would be easily handled.&#160;&nbsp;The only&#160;<br>&gt;&gt; notification that would originate outside of this interceptor&#160;<br>&gt;&gt; would be load/evict/activate/passivate notifications ...<br>&gt;&gt;<br>&gt;&gt; What do people think&#63;<br>&gt;&gt;<br>&gt;&gt; Cheers&#44;<br>&gt;&gt; --<br>&gt;&gt; Manik Surtani<br>&gt;&gt;<br>&gt;&gt; Lead&#44; JBoss Cache<br>&gt;&gt; JBoss&#44; a division of Red Hat<br>&gt;&gt;<br>&gt;&gt; Email: manik@jboss.org<br>&gt;&gt; Telephone: &#43;44 7786 702 706<br>&gt;&gt; MSN: manik@surtani.org<br>&gt;&gt; Yahoo/AIM/Skype: maniksurtani<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; jbosscache-dev mailing list<br>&gt;&gt; jbosscache-dev@lists.jboss.org<br>&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/jbosscache">https://lists.jboss.org/mailman/listinfo/jbosscache</a>-dev<br>&gt;&gt;<br>&gt;<br>&gt; --<br>&gt; Bela Ban<br>&gt; Lead JGroups / Manager JBoss Clustering Group<br>&gt; JBoss - a division of Red Hat<br>&gt;<br><br>
      </p>
    </div>
  </body>
</html>