Tsz-wo Sze created HDDS-14974:
---------------------------------

             Summary: 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


{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]

Reply via email to