You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2026/04/17 12:04:00 UTC

[jira] [Resolved] (HDDS-14974) Change SCMStateMachine to use ScmInvoker.

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

Attila Doroszlai resolved HDDS-14974.
-------------------------------------
    Fix Version/s: 2.2.0
       Resolution: Implemented

> Change SCMStateMachine to use ScmInvoker.
> -----------------------------------------
>
>                 Key: HDDS-14974
>                 URL: https://issues.apache.org/jira/browse/HDDS-14974
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM
>            Reporter: Tsz-wo Sze
>            Assignee: Chen-Jheng Sing
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.2.0
>
>         Attachments: 10079_review.patch
>
>
> {code}
> //SCMStateMachine
>   private Map<RequestType, Object> handlers;
> {code}
> SCMStateMachine currently has a the above handlers map which uses reflection and Proxy to call the local methods.  In this JIRA, we add a new invokers map to use ScmInvoker to call the local methods directly without reflection.
> {code}
>   private Map<RequestType, ScmInvoker> invokers;
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org