[ 
https://issues.apache.org/jira/browse/HDDS-11831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai updated HDDS-11831:
------------------------------------
    Status: Patch Available  (was: In Progress)

> Finer-grained interface for dynamically registered subcommands
> --------------------------------------------------------------
>
>                 Key: HDDS-11831
>                 URL: https://issues.apache.org/jira/browse/HDDS-11831
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone CLI
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>              Labels: pull-request-available
>
> Dynamically registered subcommands all implement {{SubcommandWithParent}}.  
> The parent command is identified by {{getParentType()}}.
> Each top-level command ({{OzoneAdmin}}, {{OzoneDebug}}, etc.) has to load all 
> implementors of {{SubcommandWithParent}}, only to discard most of them.  This 
> increases command startup latency, which is a minor problem for short-lived 
> commands, e.g. {{ozone sh}}.
> Finding children of a parent command is also a bit harder.
> We could introduce more specific interfaces to limit the search scope of 
> subcommands to be registered dynamically.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to