You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2012/06/20 20:40:43 UTC

[jira] [Updated] (JCR-3352) Minor improvements for collecting ACEs

     [ https://issues.apache.org/jira/browse/JCR-3352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela updated JCR-3352:
------------------------

    Attachment: JCR-3352.patch

patch providing the following improvements:

- construct ACL with a path -> avoiding accessing the parent node
- extend NodeImpl to allow to access the name of the primary type -> avoid calling Node#getNodeType
- extend NodeImpl by a new method #isAccessControllable -> avoid to call Node#hasNode which in fact retrieves the item data while in this case it was sufficient to know if such a child item exists. this is a implementation specific improvement (which i basically tried to avoid so far).

i will profile the net effect again... but it addresses things that showed to be very costy and at the same time could be fixed (in contrast to accessing the ace-nodes)
                
> Minor improvements for collecting ACEs
> --------------------------------------
>
>                 Key: JCR-3352
>                 URL: https://issues.apache.org/jira/browse/JCR-3352
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>            Reporter: angela
>            Assignee: angela
>         Attachments: JCR-3352.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira