]
Elias Ross updated JGRP-719:
----------------------------
Attachment: ReplicatedHashMapTest.java
Test case
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: