[infinispan-issues] [JBoss JIRA] (ISPN-8946) All collection wrappers should always delegate to underlying collections where available
William Burns (JIRA)
issues at jboss.org
Tue Mar 20 12:48:00 EDT 2018
[ https://issues.jboss.org/browse/ISPN-8946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13548681#comment-13548681 ]
William Burns commented on ISPN-8946:
-------------------------------------
Note these changes will also try to avoid all unnecessary wrapping by subsequent interceptors (especially around iterator and supporting the remove method of it). These wrappings should be avoidable at all levels by setting the REMOTE_ITERATION flag as needed. Note only the highest level should provide the wrapping unless the flag was already set (by remote invocation such as LocalStreamManager.
> All collection wrappers should always delegate to underlying collections where available
> ----------------------------------------------------------------------------------------
>
> Key: ISPN-8946
> URL: https://issues.jboss.org/browse/ISPN-8946
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.2.0.Final
> Reporter: William Burns
> Assignee: William Burns
>
> All places that override values returned from keySet and entrySet should always delegate appropriately to the underlying keySet or entrySet. We should try to be as minimally invasive to each level down as possible. An example would be that we shouldn't create copies of said collections if possible and instead just use delegates.
> https://github.com/infinispan/infinispan/pull/5794#discussion_r173789766
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list