[JBoss JIRA] (ISPN-5728) Implement all the default methods in Java 8's Map interface
by Katia Aresti (Jira)
[ https://issues.jboss.org/browse/ISPN-5728?page=com.atlassian.jira.plugin.... ]
Katia Aresti resolved ISPN-5728.
--------------------------------
Resolution: Done
> Implement all the default methods in Java 8's Map interface
> -----------------------------------------------------------
>
> Key: ISPN-5728
> URL: https://issues.jboss.org/browse/ISPN-5728
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 8.0.0.Final
> Reporter: Dan Berindei
> Assignee: Katia Aresti
> Priority: Major
>
> Java 8 added many new methods to the {{Map}} interface. Some of them were already present in {{ConcurrentMap}}, but others are new: {{getOrDefault()}}, {{forEach()}}, {{replaceAll()}}, {{computeIfAbsent()}}, {{computeIfPresent()}}, {{compute()}}, {{merge()}}.
> We should try to write Infinispan-specific implementations wherever that would improve correctness and/or performance.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (ISPN-5728) Implement all the default methods in Java 8's Map interface
by Will Burns (Jira)
[ https://issues.jboss.org/browse/ISPN-5728?page=com.atlassian.jira.plugin.... ]
Will Burns commented on ISPN-5728:
----------------------------------
I would say given that we are trying to move to eventually move to a new API, that we don't need to worry about this anymore.
> Implement all the default methods in Java 8's Map interface
> -----------------------------------------------------------
>
> Key: ISPN-5728
> URL: https://issues.jboss.org/browse/ISPN-5728
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 8.0.0.Final
> Reporter: Dan Berindei
> Assignee: Katia Aresti
> Priority: Major
>
> Java 8 added many new methods to the {{Map}} interface. Some of them were already present in {{ConcurrentMap}}, but others are new: {{getOrDefault()}}, {{forEach()}}, {{replaceAll()}}, {{computeIfAbsent()}}, {{computeIfPresent()}}, {{compute()}}, {{merge()}}.
> We should try to write Infinispan-specific implementations wherever that would improve correctness and/or performance.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (ISPN-10798) JCache annotations attribute cacheResolverFactory is ignored
by Dan Berindei (Jira)
Dan Berindei created ISPN-10798:
-----------------------------------
Summary: JCache annotations attribute cacheResolverFactory is ignored
Key: ISPN-10798
URL: https://issues.jboss.org/browse/ISPN-10798
Project: Infinispan
Issue Type: Bug
Components: JCache
Affects Versions: 10.0.0.CR3, 9.4.16.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 10.0.0.Final
The JCache TCK doesn't seem to require support for {{cacheResolverFactory}}, but having it would allow us to have an alternative to the managed interceptors {{InjectedCache*Interceptor}} and to deprecate them.
We can then move the default interceptors to the jcache-commons module, so they support both embedded and remote caches.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months