[infinispan-issues] [JBoss JIRA] (ISPN-10362) Unify command initialization and invocation

Dan Berindei (Jira) issues at jboss.org
Thu Feb 6 04:09:00 EST 2020


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

Dan Berindei updated ISPN-10362:
--------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 11.0.0.Alpha1
       Resolution: Done


> Unify command initialization and invocation
> -------------------------------------------
>
>                 Key: ISPN-10362
>                 URL: https://issues.redhat.com/browse/ISPN-10362
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Core
>    Affects Versions: 10.0.0.Beta3
>            Reporter: Dan Berindei
>            Assignee: Ryan Emerson
>            Priority: Major
>             Fix For: 11.0.0.Alpha1
>
>
> ISPN-10322 unified command initialization with {{InitializableCommand}}, but we should go further and unify initialization with invocation.
> We can replace the current {{ReplicableCommand.invokeAsync}} and {{InitializableCommand.init(ComponentRegistry()}} methods with a method {{CacheRpcCommand.invokeAsync(ComponentRegistry)}} (or maybe {{execute}}?). 
> For global commands we can create a {{GlobalRpcCommand}} interface with a method {{invokeAsync(GlobalComponentRegistry)}}.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list