[jboss-jira] [JBoss JIRA] Created: (JGRP-719) Allow ReplicatedHashMap to delegate to any ConcurrentMap
Elias Ross (JIRA)
jira-events at lists.jboss.org
Tue Mar 18 20:28:50 EDT 2008
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: Bela Ban
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