[infinispan-issues] [JBoss JIRA] (ISPN-8651) Use functional commands for JCache operations

Radim Vansa (JIRA) issues at jboss.org
Thu Jan 4 03:56:00 EST 2018


     [ https://issues.jboss.org/browse/ISPN-8651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radim Vansa updated ISPN-8651:
------------------------------
    Description: 
Some JCache operations (especially the {{invoke}}) cannot be executed using single command. We should run those using functional commands if possible.

-Regarding the {{invoke}} we have to find out if the {{EntryProcessor}} is marshallable. If it is we will assume that it does not have any side-effect and can be invoked on remote node; we should let the user opt-out of this behaviour through a system property.-
JSR107 spec says that implementation may require the EntryProcessor to be serializable or marshallable in some manner.

  was:
Some JCache operations (especially the {{invoke}}) cannot be executed using single command. We should run those using functional commands if possible.

Regarding the {{invoke}} we have to find out if the {{EntryProcessor}} is marshallable. If it is we will assume that it does not have any side-effect and can be invoked on remote node; we should let the user opt-out of this behaviour through a system property.



> Use functional commands for JCache operations
> ---------------------------------------------
>
>                 Key: ISPN-8651
>                 URL: https://issues.jboss.org/browse/ISPN-8651
>             Project: Infinispan
>          Issue Type: Enhancement
>            Reporter: Radim Vansa
>            Assignee: Radim Vansa
>
> Some JCache operations (especially the {{invoke}}) cannot be executed using single command. We should run those using functional commands if possible.
> -Regarding the {{invoke}} we have to find out if the {{EntryProcessor}} is marshallable. If it is we will assume that it does not have any side-effect and can be invoked on remote node; we should let the user opt-out of this behaviour through a system property.-
> JSR107 spec says that implementation may require the EntryProcessor to be serializable or marshallable in some manner.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list