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

Serguei Khramtchenko (JIRA) jira-events at lists.jboss.org
Mon Feb 18 05:48:26 EST 2008


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


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