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

Unify command initialization and invocation

    XMLWordPrintable

Details

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

    Description

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: