[
http://jira.jboss.com/jira/browse/JBCACHE-1214?page=all ]
Manik Surtani updated JBCACHE-1214:
-----------------------------------
Fix Version/s: 3.0.0
Can the cache be backed by LinkedHashSet instead of HashSet
-----------------------------------------------------------
Key: JBCACHE-1214
URL:
http://jira.jboss.com/jira/browse/JBCACHE-1214
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Environment: RFC
Reporter: Carl Shelbourne
Assigned To: Manik Surtani
Priority: Optional
Fix For: 3.0.0
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:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira