Russole opened a new pull request, #10079:
URL: https://github.com/apache/ozone/pull/10079

   ## What changes were proposed in this pull request?
   
   * Add a new `invokers` map in `SCMStateMachine` to use `ScmInvoker` for 
method dispatch
   * Replace reflection-based invocation with direct invocation via `ScmInvoker`
   * Add `getReturnType()` in `ScmInvoker` to avoid reflection when applying 
local state machine operations
   * Extend `ScmInvokerCodeGenerator` to generate the `getReturnType()` method 
for each invoker
   * Prevent checkstyle failures caused by generated invoker classes
   
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-14974
   ## How was this patch tested?
   - All CI checks passed
      - https://github.com/Russole/ozone/actions/runs/24354244039
   - Verified that code generated by `ScmInvokerCodeGenerator` is functionally 
equivalent to the existing `DeletedBlockLogStateManagerInvoker`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to