]
Tristan Tarrant updated ISPN-10362:
-----------------------------------
Fix Version/s: 10.0.0.Beta5
(was: 10.0.0.Beta4)
Unify remove command initialization and invocation
--------------------------------------------------
Key: ISPN-10362
URL:
https://issues.jboss.org/browse/ISPN-10362
Project: Infinispan
Issue Type: Enhancement
Components: Core
Affects Versions: 10.0.0.Beta3
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Major
Fix For: 10.0.0.Beta5, 10.0.0.Final
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)}}.