[jboss-jira] [JBoss JIRA] Resolved: (JGRP-719) Allow ReplicatedHashMap to delegate to any ConcurrentMap

Vladimir Blagojevic (JIRA) jira-events at lists.jboss.org
Tue Mar 25 21:52:40 EDT 2008


     [ http://jira.jboss.com/jira/browse/JGRP-719?page=all ]

Vladimir Blagojevic resolved JGRP-719.
--------------------------------------

    Resolution: Done

Resolved on HEAD:

  Revision  Changes    Path
  1.4       +25 -18    JGroups/tests/junit/org/jgroups/tests/ReplicatedHashMapTest.java

  Revision 
  1.14  JGroups/src/junit/org/jgroups/blocks/ReplicatedHashMap.java

> Allow ReplicatedHashMap to delegate to any ConcurrentMap
> --------------------------------------------------------
>
>                 Key: JGRP-719
>                 URL: http://jira.jboss.com/jira/browse/JGRP-719
>             Project: JGroups
>          Issue Type: Patch
>            Reporter: Elias Ross
>         Assigned To: Vladimir Blagojevic
>             Fix For: 2.7
>
>         Attachments: jgroups-map-patch.txt, ReplicatedHashMap.java, ReplicatedHashMapTest.java
>
>
> Patch changes ReplicatedHashMap to delegate calls to a ConcurrentMap instance rather than extending ConcurrentHashMap directly.
> This allows users to use ConcurrentSkipListMap (which is sorted) or whatever they want as the underlying map storage. Also, if a user wants to select a different initial capacity or what have you, they can do it by constructing the ConcurrentHashMap externally.
> The changes may slightly impact compatibility, as the inheritance hierarchy has changed, but all the old methods have been carried over.

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

        



More information about the jboss-jira mailing list