Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10362

Unify command initialization and invocation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 11.0.0.Alpha1, 11.0.0.Final
    • 10.0.0.Final
    • Core
    • None

      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).

              remerson@redhat.com Ryan Emerson
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: