[infinispan-issues] [JBoss JIRA] (ISPN-8180) Add key to WriteEntryView
Radim Vansa (JIRA)
issues at jboss.org
Wed Oct 18 04:56:00 EDT 2017
[ https://issues.jboss.org/browse/ISPN-8180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radim Vansa updated ISPN-8180:
------------------------------
Summary: Add key to WriteEntryView (was: Enhance functional API)
> Add key to WriteEntryView
> -------------------------
>
> Key: ISPN-8180
> URL: https://issues.jboss.org/browse/ISPN-8180
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Reporter: Radim Vansa
> Assignee: Radim Vansa
> Fix For: 9.2.0.Final
>
>
> WriteOnlyKeyCommand should be able to simulate ComputeIfAbsentCommand without the conditional part (dropping the condition during when this is added to modifications list) and the signature for that command's remapping function is {{Function<K, V>}}. Therefore, we need to add key() to the WriteEntryView. This comes with no performance costs as the key is always at hand, no need to load it from anywhere.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list