[jboss-jira] [JBoss JIRA] Closed: (EJBTHREE-1901) StatefulTreeCache should get it's region Fqn from the region

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Aug 20 18:58:23 EDT 2009


     [ https://jira.jboss.org/jira/browse/EJBTHREE-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry closed EJBTHREE-1901.
--------------------------------------

    Fix Version/s: 1.1.16
       Resolution: Done


> StatefulTreeCache should get it's region Fqn from the region
> ------------------------------------------------------------
>
>                 Key: EJBTHREE-1901
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1901
>             Project: EJB 3.0
>          Issue Type: Task
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>            Priority: Minor
>             Fix For: 1.1.16
>
>
> Possible minor optimization. In StatefulTreeCache.start()
>       cacheNode = new Fqn(new Object[] { SFSB, this.ejbContainer.getDeploymentPropertyListString() });
>       
>       ......
>       Node regionRoot = cache.getNode(cacheNode);
>       if (regionRoot == null)
>       {
>          regionRoot = cache.getRoot().addChild(cacheNode);
>       }
>       regionRoot.setResident(true);
>       
>   
> We should follow this with
>       cacheNode = regionRoot.getFqn();
> Result is the base Fqn we use to create session Fqns is made up of the same initial elements as what's in the JBC tree. Result is equals checks on those elements become ==.

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

        



More information about the jboss-jira mailing list