Radim Vansa created ISPN-8180:
---------------------------------
Summary: 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.2.3#72005)