szetszwo commented on code in PR #10474:
URL: https://github.com/apache/ozone/pull/10474#discussion_r3384157468


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMRatisServer.java:
##########
@@ -38,7 +37,7 @@ public interface SCMRatisServer {
 
   void start() throws IOException;
 
-  void registerStateMachineHandler(RequestType handlerType, Object handler);
+  void registerStateMachineHandler(RequestType handlerType, ScmInvoker<?> 
handler);

Review Comment:
   @YutaLin , Sorry, one more comment: we should also remove handlerType and 
use handler.etType().



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