[
https://issues.apache.org/jira/browse/HDDS-14974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated HDDS-14974:
------------------------------
Attachment: 10079_review.patch
> 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
> 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: [email protected]
For additional commands, e-mail: [email protected]