[jbosscache-issues] [JBoss JIRA] Commented: (JBCACHE-1492) Add a hasChildren() (or equivalent) method to the Node interface

Manik Surtani (JIRA) jira-events at lists.jboss.org
Wed Mar 18 04:45:00 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBCACHE-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12457826#action_12457826 ] 

Manik Surtani commented on JBCACHE-1492:
----------------------------------------

Added Cache.isLeaf(Fqn) and Node.isLeaf()

> Add a hasChildren() (or equivalent) method to the Node interface
> ----------------------------------------------------------------
>
>                 Key: JBCACHE-1492
>                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1492
>             Project: JBoss Cache
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Nathan Messer
>            Assignee: Manik Surtani
>             Fix For: 3.1.0.GA
>
>
> We would like to request a hasChildren() (or some equivalent) method on the Node interface to establish if a node has children.
> The NodeSPI interface already has a hasChildrenDirect() method, which is the functionality we are looking for.
> The main reason for wanting a hasChildren() method, rather than just getting the children, or the children names, and checking the length is performance.

-- 
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 jbosscache-issues mailing list