[jboss-jira] [JBoss JIRA] Resolved: (JBCACHE-1291) Optimize perfromance of notifyNodeModified(...) method in org.jboss.cache.notifications.Notifier

Manik Surtani (JIRA) jira-events at lists.jboss.org
Mon Mar 3 14:01:57 EST 2008


     [ http://jira.jboss.com/jira/browse/JBCACHE-1291?page=all ]

Manik Surtani resolved JBCACHE-1291.
------------------------------------

    Fix Version/s: 2.1.0.CR3
       Resolution: Done

This was addressed in 2.1.0.CR3.

> Optimize perfromance of notifyNodeModified(...) method in org.jboss.cache.notifications.Notifier
> ------------------------------------------------------------------------------------------------
>
>                 Key: JBCACHE-1291
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1291
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.0.0.GA
>            Reporter: Serguei Khramtchenko
>         Assigned To: Manik Surtani
>             Fix For: 2.1.0.CR3
>
>
> The notifyNodeModified(...) and other notifyXXX methods first create a copy of data, then check if any listeners exist. Copying data is an expensive operation and should be done inside the IF block that check for existence of listeners  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list