[jbosscache-issues] [JBoss JIRA] Updated: (JBCACHE-1214) Can the cache be backed by LinkedHashSet instead of HashSet

Manik Surtani (JIRA) jira-events at lists.jboss.org
Thu Feb 12 10:28:51 EST 2009


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

Manik Surtani updated JBCACHE-1214:
-----------------------------------

    Fix Version/s: 3.2.0.GA
                       (was: 3.1.0.GA)


> Can the cache be backed by LinkedHashSet instead of HashSet
> -----------------------------------------------------------
>
>                 Key: JBCACHE-1214
>                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1214
>             Project: JBoss Cache
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>         Environment: RFC
>            Reporter: Carl Shelbourne
>            Assignee: Manik Surtani
>            Priority: Optional
>             Fix For: 3.2.0.GA
>
>
> Looking at the code it is noted that the cache is backed by a HashSet. 
> Would it be possible to change this so that it is backed by a LinkedHashSet.
> There may or may not be performance benefits to this dependant on the usage. The primary reason for wanting it to be backed by a LinkedHashSet is the guaranteed ordering of the elements when iterated over. Having this guarantee would facilitate implementations of say a TableModel, but would make other iterations more predictable too.

-- 
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