[infinispan-issues] [JBoss JIRA] (ISPN-8090) Functional commands don't support Data convertions In Transactional Caches
Radim Vansa (JIRA)
issues at jboss.org
Mon Jul 24 03:28:00 EDT 2017
[ https://issues.jboss.org/browse/ISPN-8090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439089#comment-13439089 ]
Radim Vansa commented on ISPN-8090:
-----------------------------------
1) The encoding classes are stored in each command, so I guess that {{FunctionalCommand.toMutation}} has to pass the encoding classes when creating the mutation.
2) Mutations are a "simplification":
a) Mutations don't have to marshall whole command (including key, command id, flags...), just the function itself. In your case, you may have to add the encoding classes, too.
b) There are no multi-key mutations; therefore if you have two multi-key functional commands modifying an entry and then a functional (single-key) read, you send only the data relevant to the one key. The logic of applying mutations can be simpler, too.
> Functional commands don't support Data convertions In Transactional Caches
> --------------------------------------------------------------------------
>
> Key: ISPN-8090
> URL: https://issues.jboss.org/browse/ISPN-8090
> Project: Infinispan
> Issue Type: Feature Request
> Reporter: Katia Aresti
> Assignee: Katia Aresti
>
> Functional Maps in Tx mode do not support encoding caches.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list